Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002383/0.002383, allocations: 206.2 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2729/0.2729, allocations: 44.27 MB / 331.1 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 68.47 kB / 468.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1503, allocations: 61.04 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005171/0.1555, allocations: 3.144 MB / 0.5204 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.157, allocations: 0.811 MB / 0.5212 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.1572, allocations: 11.94 kB / 0.5212 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.1575, allocations: 79.22 kB / 0.5213 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.1577, allocations: 126.8 kB / 0.5214 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1581, allocations: 131.8 kB / 0.5216 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.1588, allocations: 0.5064 MB / 0.5221 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.1591, allocations: 178.3 kB / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.1594, allocations: 223.2 kB / 0.5224 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.1597, allocations: 202.9 kB / 0.5226 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.1598, allocations: 48 kB / 0.5227 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.1599, allocations: 52 kB / 0.5227 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.16, allocations: 103.7 kB / 0.5228 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.1602, allocations: 207.1 kB / 0.523 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.1608, allocations: 0.5718 MB / 0.5236 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1608, allocations: 0 / 0.5236 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1608, allocations: 0 / 0.5236 GB, free: 288 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1608, allocations: 0 / 0.5236 GB, free: 288 kB / 398.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.001412/0.1622, allocations: 0.6962 MB / 0.5243 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1622, allocations: 8.031 kB / 0.5243 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1624, allocations: 56.66 kB / 0.5243 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.163, allocations: 255.7 kB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.163, allocations: 33.38 kB / 0.5246 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/0.1631, allocations: 48.38 kB / 0.5246 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/0.164, allocations: 0.5028 MB / 0.5251 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.164, allocations: 0 / 0.5251 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.164, allocations: 20 kB / 0.5252 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.164, allocations: 16 kB / 0.5252 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.1648, allocations: 320.1 kB / 0.5255 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.1672, allocations: 1.452 MB / 0.5269 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.1678, allocations: 221.1 kB / 0.5271 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.1682, allocations: 133.6 kB / 0.5272 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1682, allocations: 4 kB / 0.5272 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1682, allocations: 34.56 kB / 0.5273 GB, free: 12.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.1682, allocations: 4.156 kB / 0.5273 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002881/0.1711, allocations: 1.128 MB / 0.5284 GB, free: 11.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.1712, allocations: 81.11 kB / 0.5284 GB, free: 11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.1715, allocations: 253.8 kB / 0.5287 GB, free: 10.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.1715, allocations: 37.7 kB / 0.5287 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.1717, allocations: 268 kB / 0.529 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1718, allocations: 123 kB / 0.5291 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.1719, allocations: 82.09 kB / 0.5292 GB, free: 10.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1721, allocations: 338.8 kB / 0.5295 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.1724, allocations: 108.8 kB / 0.5296 GB, free: 9.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.1727, allocations: 212.5 kB / 0.5298 GB, free: 9.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.1734, allocations: 347.6 kB / 0.5301 GB, free: 9.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1734, allocations: 0 / 0.5301 GB, free: 9.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008631/0.1743, allocations: 424.6 kB / 0.5305 GB, free: 8.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1743, allocations: 8 kB / 0.5306 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1743, allocations: 7.984 kB / 0.5306 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.1744, allocations: 28.84 kB / 0.5306 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.1749, allocations: 123.9 kB / 0.5307 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1762, allocations: 1.319 MB / 0.532 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.1764, allocations: 16 kB / 0.532 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1764, allocations: 16 kB / 0.532 GB, free: 7.09 MB / 414.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.0002272/0.1766, allocations: 165.9 kB / 0.5322 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.1767, allocations: 35.75 kB / 0.5322 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.507e-05/0.1768, allocations: 34.11 kB / 0.5322 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1768, allocations: 4 kB / 0.5323 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1768, allocations: 4.062 kB / 0.5323 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1768, allocations: 4 kB / 0.5323 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1778, allocations: 0.5784 MB / 0.5328 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1778, allocations: 0 / 0.5328 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.1782, allocations: 91.88 kB / 0.5329 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.96e-05/0.1783, allocations: 32.91 kB / 0.5329 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.1783, allocations: 4 kB / 0.5329 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.1794, allocations: 1.3 MB / 0.5342 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.1794, allocations: 8.016 kB / 0.5342 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.1804, allocations: 0.6011 MB / 0.5348 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1805, allocations: 47.83 kB / 0.5349 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.1805, allocations: 11.98 kB / 0.5349 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.1808, allocations: 19.98 kB / 0.5349 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.1809, allocations: 23.95 kB / 0.5349 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1809, allocations: 12 kB / 0.5349 GB, free: 3.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.1811, allocations: 177.2 kB / 0.5351 GB, free: 3.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1811, allocations: 4 kB / 0.5351 GB, free: 3.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000438/0.1815, allocations: 99.88 kB / 0.5352 GB, free: 3.652 MB / 414.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.0001505/0.1817, allocations: 111.1 kB / 0.5353 GB, free: 3.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009228/0.1826, allocations: 398.7 kB / 0.5357 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1826, allocations: 0 / 0.5357 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.183, allocations: 242.5 kB / 0.5359 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.1835, allocations: 43.09 kB / 0.5359 GB, free: 2.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1853, allocations: 0.9462 MB / 0.5369 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1855, allocations: 207.7 kB / 0.5371 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.1856, allocations: 35.42 kB / 0.5371 GB, free: 1.602 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1856, allocations: 0 / 0.5371 GB, free: 1.602 MB / 414.1 MB Notification: Performance of Templates: time 0.3124/0.498, allocations: 6.09 MB / 0.5431 GB, free: 26.9 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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: 8.552926330361515]