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.001837/0.001837, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002408/0.002408, allocations: 216.8 kB / 22.99 MB, free: 4.973 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.874/1.874, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2467/0.2467, allocations: 44.26 MB / 330.3 MB, free: 9.297 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.00234/0.00234, allocations: 87.83 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1492, allocations: 61.03 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005143/0.1543, allocations: 3.148 MB / 0.5197 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1562, allocations: 0.807 MB / 0.5205 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.1564, allocations: 8 kB / 0.5205 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1567, allocations: 75.23 kB / 0.5206 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.157, allocations: 134.8 kB / 0.5207 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.1574, allocations: 135.8 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.1581, allocations: 0.5103 MB / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.1585, allocations: 174.3 kB / 0.5215 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.1588, allocations: 223.2 kB / 0.5217 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.1591, allocations: 202.9 kB / 0.5219 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.03e-05/0.1592, allocations: 48 kB / 0.5219 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.1593, allocations: 48 kB / 0.522 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1594, allocations: 111.7 kB / 0.5221 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.1596, allocations: 199.1 kB / 0.5223 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.1603, allocations: 0.5679 MB / 0.5228 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1603, allocations: 4 kB / 0.5228 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1603, allocations: 0 / 0.5228 GB, free: 284 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1603, allocations: 4 kB / 0.5228 GB, free: 280 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.001467/0.1618, allocations: 0.6922 MB / 0.5235 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.1618, allocations: 12.03 kB / 0.5235 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1619, allocations: 48.66 kB / 0.5236 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.1625, allocations: 259.7 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.1626, allocations: 37.38 kB / 0.5239 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/0.1627, allocations: 48.38 kB / 0.5239 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009411/0.1636, allocations: 0.4989 MB / 0.5244 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1636, allocations: 0 / 0.5244 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.1637, allocations: 28 kB / 0.5244 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1637, allocations: 8 kB / 0.5244 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.1644, allocations: 324.1 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.1669, allocations: 1.448 MB / 0.5262 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.1674, allocations: 229 kB / 0.5264 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.1678, allocations: 125.8 kB / 0.5265 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1678, allocations: 7.938 kB / 0.5265 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1678, allocations: 42.5 kB / 0.5265 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 3.296e-06/0.1678, allocations: 3.984 kB / 0.5265 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002919/0.1707, allocations: 1.128 MB / 0.5276 GB, free: 11.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.1708, allocations: 81.11 kB / 0.5277 GB, free: 10.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.1711, allocations: 265.8 kB / 0.528 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1711, allocations: 29.7 kB / 0.528 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.1713, allocations: 272 kB / 0.5283 GB, free: 10.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1714, allocations: 119 kB / 0.5284 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1716, allocations: 78.08 kB / 0.5284 GB, free: 10.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1717, allocations: 342.8 kB / 0.5288 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.172, allocations: 108.8 kB / 0.5289 GB, free: 9.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.1724, allocations: 212.3 kB / 0.5291 GB, free: 9.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.173, allocations: 351.6 kB / 0.5294 GB, free: 9.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.173, allocations: 0 / 0.5294 GB, free: 9.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008579/0.1739, allocations: 420.6 kB / 0.5298 GB, free: 8.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1739, allocations: 8 kB / 0.5298 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1739, allocations: 0 / 0.5298 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.1741, allocations: 36.84 kB / 0.5299 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.1745, allocations: 115.9 kB / 0.53 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.1757, allocations: 1.312 MB / 0.5313 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.176, allocations: 15.98 kB / 0.5313 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.176, allocations: 20 kB / 0.5313 GB, free: 7.082 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.000221/0.1762, allocations: 161.9 kB / 0.5314 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.1763, allocations: 31.75 kB / 0.5315 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.1764, allocations: 42.11 kB / 0.5315 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1764, allocations: 8.062 kB / 0.5315 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1764, allocations: 0 / 0.5315 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1764, allocations: 4.125 kB / 0.5315 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.1775, allocations: 0.5784 MB / 0.5321 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.1775, allocations: 7.984 kB / 0.5321 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.1779, allocations: 91.94 kB / 0.5322 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.181e-05/0.1779, allocations: 28.84 kB / 0.5322 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.178, allocations: 8 kB / 0.5322 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.179, allocations: 1.303 MB / 0.5335 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.179, allocations: 0 / 0.5335 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.18, allocations: 0.605 MB / 0.5341 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1801, allocations: 43.83 kB / 0.5341 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.1802, allocations: 8 kB / 0.5341 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.1804, allocations: 19.98 kB / 0.5342 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.1805, allocations: 23.95 kB / 0.5342 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1805, allocations: 12 kB / 0.5342 GB, free: 3.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1807, allocations: 181.2 kB / 0.5344 GB, free: 3.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1807, allocations: 7.938 kB / 0.5344 GB, free: 3.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.1812, allocations: 99.88 kB / 0.5345 GB, free: 3.645 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.0001379/0.1813, allocations: 107.1 kB / 0.5346 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008441/0.1822, allocations: 390.6 kB / 0.5349 GB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1822, allocations: 4 kB / 0.5349 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.1826, allocations: 246.4 kB / 0.5352 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.183, allocations: 43.39 kB / 0.5352 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1847, allocations: 0.9094 MB / 0.5361 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.185, allocations: 211.7 kB / 0.5363 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.1851, allocations: 34.95 kB / 0.5363 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.1852, allocations: 27.44 kB / 0.5364 GB, free: 1.609 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1852, allocations: 0 / 0.5364 GB, free: 1.609 MB / 414.1 MB Notification: Performance of Templates: time 0.2785/0.4637, allocations: 3.316 MB / 0.5396 GB, free: 28.03 MB / 414.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/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: 6.150326712056994]