Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 184.2 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.009/1.009, allocations: 120.6 MB / 428.3 MB, free: 5.543 MB / 334.1 MB " [Timeout remaining time 179] 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=2500,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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 71.83 kB / 0.5989 GB, free: 16.8 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1717, allocations: 84.69 MB / 0.6816 GB, free: 11.91 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002236/0.1739, allocations: 1.225 MB / 0.6828 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.1741, allocations: 47.88 kB / 0.6829 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.1741, allocations: 0 / 0.6829 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.421e-05/0.1742, allocations: 3.938 kB / 0.6829 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.1743, allocations: 7.984 kB / 0.6829 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1745, allocations: 31.88 kB / 0.6829 GB, free: 10.58 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1746, allocations: 103.8 kB / 0.683 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.1747, allocations: 3.984 kB / 0.683 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.1747, allocations: 35.92 kB / 0.683 GB, free: 10.44 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.1748, allocations: 39.94 kB / 0.6831 GB, free: 10.4 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.1748, allocations: 4 kB / 0.6831 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.1749, allocations: 4 kB / 0.6831 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.1749, allocations: 27.91 kB / 0.6831 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.175, allocations: 27.91 kB / 0.6831 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.963e-05/0.1751, allocations: 55.75 kB / 0.6832 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1751, allocations: 0 / 0.6832 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1751, allocations: 0 / 0.6832 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1751, allocations: 0 / 0.6832 GB, free: 10.28 MB / 0.5139 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.0006278/0.1757, allocations: 330.2 kB / 0.6835 GB, free: 9.926 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1758, allocations: 8.031 kB / 0.6835 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1758, allocations: 8.891 kB / 0.6835 GB, free: 9.91 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.176, allocations: 126.8 kB / 0.6836 GB, free: 9.762 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.176, allocations: 8.375 kB / 0.6837 GB, free: 9.754 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.176, allocations: 16.33 kB / 0.6837 GB, free: 9.738 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1762, allocations: 86.19 kB / 0.6838 GB, free: 9.648 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1762, allocations: 192 / 0.6838 GB, free: 9.648 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.1762, allocations: 3.938 kB / 0.6838 GB, free: 9.645 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.1762, allocations: 4 kB / 0.6838 GB, free: 9.641 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.1763, allocations: 47.91 kB / 0.6838 GB, free: 9.594 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.1766, allocations: 184.6 kB / 0.684 GB, free: 9.371 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.177, allocations: 134.4 kB / 0.6841 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1771, allocations: 44.84 kB / 0.6842 GB, free: 9.184 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.1771, allocations: 0 / 0.6842 GB, free: 9.184 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1771, allocations: 38.56 kB / 0.6842 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.1771, allocations: 0 / 0.6842 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007417/0.1778, allocations: 234.5 kB / 0.6844 GB, free: 8.898 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1779, allocations: 55.41 kB / 0.6845 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.178, allocations: 97.84 kB / 0.6846 GB, free: 8.727 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.178, allocations: 33.7 kB / 0.6846 GB, free: 8.688 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.178, allocations: 80.14 kB / 0.6847 GB, free: 8.605 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.1781, allocations: 47.59 kB / 0.6847 GB, free: 8.559 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.1782, allocations: 41.7 kB / 0.6848 GB, free: 8.512 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1783, allocations: 330.8 kB / 0.6851 GB, free: 8.18 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.964e-05/0.1784, allocations: 47.97 kB / 0.6851 GB, free: 8.133 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1785, allocations: 88.19 kB / 0.6852 GB, free: 8.031 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1787, allocations: 148.2 kB / 0.6853 GB, free: 7.871 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1787, allocations: 4 kB / 0.6853 GB, free: 7.867 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004432/0.1792, allocations: 218.6 kB / 0.6856 GB, free: 7.645 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1792, allocations: 10.75 kB / 0.6856 GB, free: 7.637 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1792, allocations: 8.125 kB / 0.6856 GB, free: 7.629 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.1795, allocations: 56.8 kB / 0.6856 GB, free: 7.57 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1797, allocations: 36.11 kB / 0.6857 GB, free: 7.535 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.1812, allocations: 1.491 MB / 0.6871 GB, free: 5.922 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.1813, allocations: 16.05 kB / 0.6871 GB, free: 5.906 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1813, allocations: 4 kB / 0.6871 GB, free: 5.902 MB / 0.5139 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.0001124/0.1814, allocations: 121.8 kB / 0.6872 GB, free: 5.773 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1814, allocations: 0 / 0.6872 GB, free: 5.773 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1815, allocations: 24.05 kB / 0.6873 GB, free: 5.754 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1815, allocations: 0 / 0.6873 GB, free: 5.754 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1815, allocations: 0 / 0.6873 GB, free: 5.754 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1815, allocations: 0 / 0.6873 GB, free: 5.754 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.1817, allocations: 188.5 kB / 0.6875 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1817, allocations: 4 kB / 0.6875 GB, free: 5.523 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1819, allocations: 35.88 kB / 0.6875 GB, free: 5.488 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.1821, allocations: 56.78 kB / 0.6875 GB, free: 5.43 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1821, allocations: 4 kB / 0.6875 GB, free: 5.426 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.1836, allocations: 1.483 MB / 0.689 GB, free: 3.828 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1836, allocations: 0 / 0.689 GB, free: 3.828 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.1841, allocations: 261.7 kB / 0.6892 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.1841, allocations: 7.938 kB / 0.6893 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1841, allocations: 3.984 kB / 0.6893 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.1841, allocations: 16.06 kB / 0.6893 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1842, allocations: 7.984 kB / 0.6893 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1842, allocations: 3.938 kB / 0.6893 GB, free: 3.512 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.1842, allocations: 83.27 kB / 0.6894 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1842, allocations: 0 / 0.6894 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002299/0.1845, allocations: 32 kB / 0.6894 GB, free: 3.398 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * 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 (9): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000114/0.1846, allocations: 95.25 kB / 0.6895 GB, free: 3.293 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.1851, allocations: 258.4 kB / 0.6897 GB, free: 3.027 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1851, allocations: 4 kB / 0.6897 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.1854, allocations: 182.6 kB / 0.6899 GB, free: 2.832 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.1856, allocations: 8 kB / 0.6899 GB, free: 2.824 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/0.1865, allocations: 0.67 MB / 0.6906 GB, free: 2.125 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.1869, allocations: 0.7002 MB / 0.6913 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 5.831e-05/0.1869, allocations: 24.47 kB / 0.6913 GB, free: 1.375 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.187, allocations: 15.44 kB / 0.6913 GB, free: 1.359 MB / 0.5139 GB Notification: Performance of SimCode: time 2.91e-07/0.187, allocations: 0 / 0.6913 GB, free: 1.359 MB / 0.5139 GB Notification: Performance of Templates: time 0.004475/0.1914, allocations: 1.419 MB / 0.6927 GB, free: 15.98 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.699636592529714]