Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 111.7 kB / 17.75 MB, free: 5.309 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.001022/0.001022, allocations: 182.6 kB / 18.67 MB, free: 4.395 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.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.214/1.214, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.81 kB / 0.5716 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 80.7 MB / 0.6504 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002665/0.1736, allocations: 1.215 MB / 0.6515 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002302/0.1739, allocations: 39.88 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.174, allocations: 0 / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.394e-05/0.174, allocations: 4 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.1741, allocations: 15.91 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1743, allocations: 19.97 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1745, allocations: 103.8 kB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.483e-05/0.1746, allocations: 3.984 kB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.1747, allocations: 35.97 kB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.1748, allocations: 35.89 kB / 0.6518 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.1748, allocations: 4 kB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.918e-05/0.1748, allocations: 8 kB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.1749, allocations: 27.91 kB / 0.6518 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.175, allocations: 31.84 kB / 0.6519 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.646e-05/0.1751, allocations: 47.81 kB / 0.6519 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1751, allocations: 0 / 0.6519 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1751, allocations: 0 / 0.6519 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1751, allocations: 0 / 0.6519 GB, free: 11.48 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006648/0.1758, allocations: 411.3 kB / 0.6523 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1758, allocations: 15.89 kB / 0.6523 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.1759, allocations: 8.844 kB / 0.6523 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.1761, allocations: 172.4 kB / 0.6525 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1761, allocations: 8.375 kB / 0.6525 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.1761, allocations: 12.28 kB / 0.6525 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1763, allocations: 94.12 kB / 0.6526 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1763, allocations: 4.188 kB / 0.6526 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1763, allocations: 3.938 kB / 0.6526 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1763, allocations: 0 / 0.6526 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.1764, allocations: 43.91 kB / 0.6526 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.1767, allocations: 213.5 kB / 0.6529 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.1771, allocations: 138.5 kB / 0.653 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.1772, allocations: 49.17 kB / 0.653 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1772, allocations: 11.92 kB / 0.653 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1772, allocations: 30.56 kB / 0.6531 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1773, allocations: 0 / 0.6531 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0008265/0.1781, allocations: 307.3 kB / 0.6534 GB, free: 9.797 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1781, allocations: 59.41 kB / 0.6534 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.1782, allocations: 101.8 kB / 0.6535 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1783, allocations: 29.7 kB / 0.6535 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1783, allocations: 82.48 kB / 0.6536 GB, free: 9.5 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.1784, allocations: 51.34 kB / 0.6537 GB, free: 9.449 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1784, allocations: 42 kB / 0.6537 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1786, allocations: 322.8 kB / 0.654 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1787, allocations: 51.91 kB / 0.6541 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1788, allocations: 92.2 kB / 0.6542 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.179, allocations: 148.2 kB / 0.6543 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.179, allocations: 4 kB / 0.6543 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004398/0.1795, allocations: 222.2 kB / 0.6545 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1795, allocations: 4 kB / 0.6545 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1795, allocations: 7.938 kB / 0.6545 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.1799, allocations: 68.92 kB / 0.6546 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.18, allocations: 35.86 kB / 0.6546 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.1815, allocations: 1.582 MB / 0.6562 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.1816, allocations: 7.938 kB / 0.6562 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1816, allocations: 11.94 kB / 0.6562 GB, free: 6.664 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.1817, allocations: 129 kB / 0.6563 GB, free: 6.531 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.1818, allocations: 7.906 kB / 0.6563 GB, free: 6.523 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.1818, allocations: 15.97 kB / 0.6563 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1818, allocations: 0 / 0.6563 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1818, allocations: 0 / 0.6563 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1819, allocations: 88.95 kB / 0.6564 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1819, allocations: 16.19 kB / 0.6564 GB, free: 6.391 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.182, allocations: 4 kB / 0.6564 GB, free: 6.387 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.182, allocations: 11.98 kB / 0.6565 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006425/0.1827, allocations: 318 kB / 0.6568 GB, free: 6.055 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003758/0.1831, allocations: 394.4 kB / 0.6571 GB, free: 5.652 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.383e-05/0.1831, allocations: 51.94 kB / 0.6572 GB, free: 5.602 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.1832, allocations: 83.22 kB / 0.6573 GB, free: 5.52 MB / 0.4983 GB Notification: Performance of Backend: time 6.01e-07/0.1832, allocations: 0 / 0.6573 GB, free: 5.52 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000684/0.1839, allocations: 307.7 kB / 0.6576 GB, free: 5.203 MB / 0.4983 GB Notification: Performance of SimCode: time 0.001121/0.185, allocations: 1.099 MB / 0.6586 GB, free: 4.055 MB / 0.4983 GB Notification: Performance of Templates: time 0.004345/0.1894, allocations: 1.484 MB / 0.6601 GB, free: 2.613 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches