Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.001996/0.001996, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002436/0.002436, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.648/1.648, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2765/0.2765, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.91 kB / 0.4914 GB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1582, allocations: 65.99 MB / 0.5558 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00562/0.1638, allocations: 3.532 MB / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1657, allocations: 0.8295 MB / 0.5601 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.166, allocations: 12 kB / 0.5601 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.1662, allocations: 83.22 kB / 0.5602 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.1665, allocations: 122.8 kB / 0.5603 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.1669, allocations: 123.8 kB / 0.5604 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.1676, allocations: 0.5374 MB / 0.5609 GB, free: 108 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.168, allocations: 173.9 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1682, allocations: 215.3 kB / 0.5613 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.1685, allocations: 235 kB / 0.5615 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.1686, allocations: 48 kB / 0.5616 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.851e-05/0.1687, allocations: 52 kB / 0.5616 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.756e-05/0.1688, allocations: 107.6 kB / 0.5617 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.169, allocations: 242.9 kB / 0.562 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.1697, allocations: 0.5679 MB / 0.5625 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1697, allocations: 3.938 kB / 0.5625 GB, free: 14.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1697, allocations: 4 kB / 0.5625 GB, free: 14.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.1697, allocations: 0 / 0.5625 GB, free: 14.47 MB / 430.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.001586/0.1713, allocations: 0.7675 MB / 0.5633 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1713, allocations: 8.031 kB / 0.5633 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1715, allocations: 56.61 kB / 0.5633 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.172, allocations: 325.5 kB / 0.5637 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.1721, allocations: 33.38 kB / 0.5637 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.132e-05/0.1721, allocations: 48.38 kB / 0.5637 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/0.1731, allocations: 463.3 kB / 0.5642 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1731, allocations: 0 / 0.5642 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.1731, allocations: 20 kB / 0.5642 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.1731, allocations: 12 kB / 0.5642 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.1739, allocations: 319.8 kB / 0.5645 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.1766, allocations: 1.682 MB / 0.5662 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.1772, allocations: 221.1 kB / 0.5664 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.1775, allocations: 129.8 kB / 0.5665 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.1775, allocations: 11.92 kB / 0.5665 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1776, allocations: 42.55 kB / 0.5665 GB, free: 10.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.282e-06/0.1776, allocations: 0 / 0.5665 GB, free: 10.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003241/0.1808, allocations: 1.343 MB / 0.5679 GB, free: 8.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.1809, allocations: 81.11 kB / 0.5679 GB, free: 8.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.1812, allocations: 262.6 kB / 0.5682 GB, free: 8.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.1813, allocations: 29.7 kB / 0.5682 GB, free: 8.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1815, allocations: 264.1 kB / 0.5685 GB, free: 7.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1816, allocations: 134.9 kB / 0.5686 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1817, allocations: 78.03 kB / 0.5687 GB, free: 7.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.1819, allocations: 338.8 kB / 0.569 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.1822, allocations: 104.8 kB / 0.5691 GB, free: 7.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.1826, allocations: 228.2 kB / 0.5693 GB, free: 7.059 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.1833, allocations: 340.4 kB / 0.5696 GB, free: 6.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1833, allocations: 0 / 0.5696 GB, free: 6.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000865/0.1842, allocations: 423.4 kB / 0.57 GB, free: 6.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1842, allocations: 4 kB / 0.57 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1842, allocations: 4 kB / 0.57 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.1843, allocations: 32.78 kB / 0.5701 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.1848, allocations: 124.1 kB / 0.5702 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.1861, allocations: 1.447 MB / 0.5716 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1864, allocations: 15.98 kB / 0.5716 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.1864, allocations: 16 kB / 0.5716 GB, free: 4.484 MB / 430.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.0002224/0.1866, allocations: 167.8 kB / 0.5718 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.1867, allocations: 31.81 kB / 0.5718 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1868, allocations: 46.23 kB / 0.5719 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1868, allocations: 4 kB / 0.5719 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1868, allocations: 0 / 0.5719 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1868, allocations: 3.984 kB / 0.5719 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.188, allocations: 0.7094 MB / 0.5726 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.188, allocations: 8.047 kB / 0.5726 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.1884, allocations: 87.88 kB / 0.5727 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.8e-05/0.1885, allocations: 28.84 kB / 0.5727 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.1886, allocations: 11.94 kB / 0.5727 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.1897, allocations: 1.426 MB / 0.5741 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1897, allocations: 0 / 0.5741 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1908, allocations: 0.6167 MB / 0.5747 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.191, allocations: 120.9 kB / 0.5748 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.191, allocations: 12 kB / 0.5748 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1913, allocations: 19.98 kB / 0.5748 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.1914, allocations: 27.91 kB / 0.5749 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1914, allocations: 8 kB / 0.5749 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1916, allocations: 186 kB / 0.5751 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1916, allocations: 3.938 kB / 0.5751 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004981/0.1921, allocations: 92 kB / 0.5751 GB, free: 0.6328 MB / 430.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.0001511/0.1923, allocations: 115.3 kB / 0.5753 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009215/0.1932, allocations: 393.6 kB / 0.5756 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1932, allocations: 4.25 kB / 0.5756 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004385/0.1936, allocations: 242.4 kB / 0.5759 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.1941, allocations: 49.47 kB / 0.5759 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.1959, allocations: 0.9214 MB / 0.5768 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.1964, allocations: 0.8074 MB / 0.5776 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1966, allocations: 38.94 kB / 0.5776 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.1966, allocations: 23.44 kB / 0.5777 GB, free: 13.96 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1966, allocations: 4 kB / 0.5777 GB, free: 13.96 MB / 446.1 MB Notification: Performance of Templates: time 0.008561/0.2052, allocations: 3.219 MB / 0.5808 GB, free: 10.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.87054556235671]