Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8823/0.8823, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62 kB / 0.5716 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 80.7 MB / 0.6505 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002202/0.1399, allocations: 1.223 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001877/0.1401, allocations: 47.86 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1402, allocations: 0 / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.393e-05/0.1403, allocations: 0 / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.1403, allocations: 15.92 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.1405, allocations: 19.95 kB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007151/0.1412, allocations: 0.8427 MB / 0.6525 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.1413, allocations: 12 kB / 0.6526 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.1415, allocations: 291.8 kB / 0.6528 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.1419, allocations: 273.5 kB / 0.6531 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.142, allocations: 48 kB / 0.6531 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1421, allocations: 44 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.1424, allocations: 257.8 kB / 0.6534 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.1427, allocations: 286.9 kB / 0.6537 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.1431, allocations: 446.5 kB / 0.6541 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1431, allocations: 0 / 0.6541 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.979e-06/0.1431, allocations: 4 kB / 0.6541 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.1432, allocations: 11.88 kB / 0.6541 GB, free: 9.188 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002718/0.1459, allocations: 1.23 MB / 0.6553 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1459, allocations: 11.89 kB / 0.6554 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.1461, allocations: 48.47 kB / 0.6554 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.1466, allocations: 319.7 kB / 0.6557 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.1467, allocations: 57.38 kB / 0.6558 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.1468, allocations: 112.1 kB / 0.6559 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.1478, allocations: 0.6236 MB / 0.6565 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.1478, allocations: 20 kB / 0.6565 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.1479, allocations: 23.94 kB / 0.6565 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1479, allocations: 12 kB / 0.6565 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.1486, allocations: 431.6 kB / 0.6569 GB, free: 6.223 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.1498, allocations: 0.7903 MB / 0.6577 GB, free: 5.383 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.1512, allocations: 0.9345 MB / 0.6586 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.1519, allocations: 479.6 kB / 0.6591 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.1519, allocations: 16.94 kB / 0.6591 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.152, allocations: 47.56 kB / 0.6591 GB, free: 3.895 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=120): time 2.375e-06/0.152, allocations: 0 / 0.6591 GB, free: 3.895 MB / 0.4983 GB Notification: Performance of matching and sorting (n=120): time 0.01003/0.162, allocations: 2.9 MB / 0.662 GB, free: 0.9648 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.162, allocations: 64.41 kB / 0.662 GB, free: 0.8906 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.1621, allocations: 125.8 kB / 0.6622 GB, free: 0.7578 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.1622, allocations: 57.7 kB / 0.6622 GB, free: 0.6953 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.1623, allocations: 98.66 kB / 0.6623 GB, free: 0.5938 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.1626, allocations: 488.9 kB / 0.6628 GB, free: 112 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.1629, allocations: 283.6 kB / 0.663 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.163, allocations: 306 kB / 0.6633 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/0.1638, allocations: 0.5035 MB / 0.6638 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/0.1647, allocations: 0.8317 MB / 0.6646 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.1665, allocations: 1.431 MB / 0.666 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1666, allocations: 0 / 0.666 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003654/0.1702, allocations: 2.004 MB / 0.668 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1702, allocations: 8 kB / 0.668 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.1703, allocations: 12 kB / 0.668 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/0.1726, allocations: 0.5704 MB / 0.6686 GB, free: 9.891 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009832/0.1736, allocations: 327.6 kB / 0.6689 GB, free: 9.57 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007613/0.1812, allocations: 5.049 MB / 0.6738 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.1818, allocations: 114.8 kB / 0.6739 GB, free: 4.262 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.1819, allocations: 56 kB / 0.674 GB, free: 4.207 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (161): * Single equations (assignments): 160 * 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,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002703/0.1821, allocations: 238.3 kB / 0.6742 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.1822, allocations: 43.53 kB / 0.6742 GB, free: 3.922 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1825, allocations: 120.2 kB / 0.6744 GB, free: 3.809 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.1825, allocations: 15.91 kB / 0.6744 GB, free: 3.793 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1825, allocations: 3.938 kB / 0.6744 GB, free: 3.789 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.1825, allocations: 128.4 kB / 0.6745 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.1827, allocations: 51.95 kB / 0.6746 GB, free: 3.594 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.183, allocations: 20 kB / 0.6746 GB, free: 3.574 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.1832, allocations: 108.8 kB / 0.6747 GB, free: 3.469 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005011/0.1882, allocations: 2.218 MB / 0.6768 GB, free: 1.238 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002549/0.1907, allocations: 2.071 MB / 0.6789 GB, free: 15.15 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007125/0.1915, allocations: 0.554 MB / 0.6794 GB, free: 14.6 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.1915, allocations: 79.27 kB / 0.6795 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of Backend: time 1.714e-06/0.1915, allocations: 0 / 0.6795 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002905/0.1944, allocations: 1.438 MB / 0.6809 GB, free: 13.05 MB / 0.5295 GB Notification: Performance of SimCode: time 0.005903/0.2003, allocations: 5.999 MB / 0.6867 GB, free: 7 MB / 0.5295 GB Notification: Performance of Templates: time 0.01815/0.2185, allocations: 12.38 MB / 0.6988 GB, free: 10.65 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches