Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 77.62 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 158.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 75.88 kB / 443.1 MB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3291, allocations: 66.06 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003746/0.3328, allocations: 3.246 MB / 0.5004 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3342, allocations: 0.8011 MB / 0.5012 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.3344, allocations: 9.625 kB / 0.5012 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.3346, allocations: 74.2 kB / 0.5013 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.3348, allocations: 127.4 kB / 0.5014 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.3352, allocations: 133.9 kB / 0.5015 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.3357, allocations: 0.5235 MB / 0.502 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.336, allocations: 164.7 kB / 0.5022 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.3362, allocations: 215.9 kB / 0.5024 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.3364, allocations: 197.9 kB / 0.5026 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.569e-05/0.3365, allocations: 49.31 kB / 0.5026 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.3366, allocations: 48.41 kB / 0.5027 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.3367, allocations: 123.3 kB / 0.5028 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.3368, allocations: 206.9 kB / 0.503 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.3373, allocations: 0.558 MB / 0.5036 GB, free: 25.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3374, allocations: 0 / 0.5036 GB, free: 25.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3374, allocations: 0 / 0.5036 GB, free: 25.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3374, allocations: 3.938 kB / 0.5036 GB, free: 25.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001235/0.3386, allocations: 0.6953 MB / 0.5042 GB, free: 25.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3386, allocations: 9.469 kB / 0.5042 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.3387, allocations: 59.36 kB / 0.5043 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.3391, allocations: 264.3 kB / 0.5046 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.3392, allocations: 36.5 kB / 0.5046 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.3392, allocations: 40.06 kB / 0.5046 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.3399, allocations: 0.518 MB / 0.5051 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3399, allocations: 0 / 0.5051 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.34, allocations: 19.06 kB / 0.5052 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.34, allocations: 11.94 kB / 0.5052 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.3406, allocations: 315.6 kB / 0.5055 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.3426, allocations: 1.451 MB / 0.5069 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.3431, allocations: 236.9 kB / 0.5071 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.3434, allocations: 121.1 kB / 0.5072 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3434, allocations: 3.125 kB / 0.5072 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.3434, allocations: 37.75 kB / 0.5073 GB, free: 23.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.3434, allocations: 0 / 0.5073 GB, free: 23.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002615/0.346, allocations: 1.133 MB / 0.5084 GB, free: 22.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.3461, allocations: 87.08 kB / 0.5085 GB, free: 22.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3463, allocations: 263 kB / 0.5087 GB, free: 22.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3463, allocations: 29.7 kB / 0.5087 GB, free: 22.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3464, allocations: 264.3 kB / 0.509 GB, free: 22.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.688e-05/0.3465, allocations: 128.3 kB / 0.5091 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.3466, allocations: 71.77 kB / 0.5092 GB, free: 22.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.3466, allocations: 342.7 kB / 0.5095 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.3469, allocations: 106.6 kB / 0.5096 GB, free: 21.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.3472, allocations: 216.1 kB / 0.5098 GB, free: 21.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.3477, allocations: 342 kB / 0.5101 GB, free: 21.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3477, allocations: 2.938 kB / 0.5101 GB, free: 21.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007207/0.3484, allocations: 418.1 kB / 0.5105 GB, free: 21.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3484, allocations: 6.062 kB / 0.5105 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3484, allocations: 3 kB / 0.5105 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.3486, allocations: 30.05 kB / 0.5106 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.349, allocations: 126.8 kB / 0.5107 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008904/0.3499, allocations: 1.315 MB / 0.512 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3501, allocations: 17.06 kB / 0.512 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.3501, allocations: 19.42 kB / 0.512 GB, free: 19.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.3503, allocations: 165 kB / 0.5122 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.3504, allocations: 35.28 kB / 0.5122 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.3504, allocations: 39.83 kB / 0.5122 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3504, allocations: 3.156 kB / 0.5122 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3504, allocations: 3.188 kB / 0.5122 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.3504, allocations: 3.328 kB / 0.5123 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/0.3513, allocations: 0.5828 MB / 0.5128 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3513, allocations: 4.062 kB / 0.5128 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.3517, allocations: 87.89 kB / 0.5129 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.253e-05/0.3518, allocations: 33.22 kB / 0.5129 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.3518, allocations: 11.25 kB / 0.5129 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006981/0.3525, allocations: 1.295 MB / 0.5142 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3525, allocations: 5.031 kB / 0.5142 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.3534, allocations: 0.6077 MB / 0.5148 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.3535, allocations: 48.48 kB / 0.5149 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.3535, allocations: 7.188 kB / 0.5149 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.3538, allocations: 21.19 kB / 0.5149 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.3538, allocations: 29.69 kB / 0.5149 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3539, allocations: 7.625 kB / 0.5149 GB, free: 17.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.354, allocations: 183.6 kB / 0.5151 GB, free: 17.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.354, allocations: 1.031 kB / 0.5151 GB, free: 17.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004566/0.3545, allocations: 95.34 kB / 0.5152 GB, free: 17.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.3546, allocations: 102.2 kB / 0.5153 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007907/0.3554, allocations: 397.8 kB / 0.5157 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3554, allocations: 0 / 0.5157 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.3557, allocations: 243.8 kB / 0.5159 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.3562, allocations: 42.75 kB / 0.5159 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.3576, allocations: 0.9169 MB / 0.5168 GB, free: 16.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3579, allocations: 215.3 kB / 0.517 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.358, allocations: 35.09 kB / 0.5171 GB, free: 16.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.3581, allocations: 35.38 kB / 0.5171 GB, free: 16.25 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3581, allocations: 1.469 kB / 0.5171 GB, free: 16.25 MB / 446.1 MB Notification: Performance of Templates: time 0.008246/0.3663, allocations: 2.933 MB / 0.52 GB, free: 15.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.327608831925318]