Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 108.8 kB / 17.06 MB, free: 6.137 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.001315/0.001315, allocations: 191 kB / 18 MB, free: 5.219 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9478/0.9478, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 61.34 kB / 0.5709 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1483, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002155/0.1505, allocations: 1.2 MB / 0.6509 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001905/0.1507, allocations: 39.81 kB / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.1507, allocations: 0 / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.266e-05/0.1508, allocations: 0 / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.1509, allocations: 11.98 kB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.1511, allocations: 19.92 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1512, allocations: 75.86 kB / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.1513, allocations: 0 / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.1513, allocations: 23.97 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.1514, allocations: 27.91 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1514, allocations: 4 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.1515, allocations: 4 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.1515, allocations: 11.98 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1515, allocations: 23.91 kB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.668e-05/0.1516, allocations: 35.89 kB / 0.6511 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1516, allocations: 0 / 0.6511 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1516, allocations: 0 / 0.6511 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1517, allocations: 4 kB / 0.6511 GB, free: 11.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004862/0.1522, allocations: 367.5 kB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1522, allocations: 11.89 kB / 0.6515 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.1522, allocations: 8.844 kB / 0.6515 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1524, allocations: 184.2 kB / 0.6517 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1524, allocations: 384 / 0.6517 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.1524, allocations: 20.31 kB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1526, allocations: 70.19 kB / 0.6518 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1526, allocations: 4.188 kB / 0.6518 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1526, allocations: 7.938 kB / 0.6518 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1526, allocations: 0 / 0.6518 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.1527, allocations: 31.91 kB / 0.6518 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.1529, allocations: 185.6 kB / 0.652 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.153, allocations: 70.53 kB / 0.652 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.1531, allocations: 36.78 kB / 0.6521 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.1531, allocations: 4 kB / 0.6521 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1531, allocations: 34.56 kB / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1531, allocations: 0 / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002312/0.1534, allocations: 105.6 kB / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1534, allocations: 55.64 kB / 0.6523 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.1535, allocations: 101.8 kB / 0.6524 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1535, allocations: 29.7 kB / 0.6524 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.1535, allocations: 88.12 kB / 0.6525 GB, free: 10 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1536, allocations: 39.45 kB / 0.6525 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.1536, allocations: 33.7 kB / 0.6526 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.1537, allocations: 318.8 kB / 0.6529 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.1538, allocations: 39.91 kB / 0.6529 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.1539, allocations: 75.64 kB / 0.653 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1541, allocations: 116.5 kB / 0.6531 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1541, allocations: 0 / 0.6531 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001883/0.1543, allocations: 149.4 kB / 0.6532 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1543, allocations: 12.06 kB / 0.6532 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1543, allocations: 4 kB / 0.6532 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1543, allocations: 192 / 0.6532 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1545, allocations: 31.98 kB / 0.6533 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1545, allocations: 4 kB / 0.6533 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.1546, allocations: 7.938 kB / 0.6533 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1546, allocations: 11.92 kB / 0.6533 GB, free: 9.129 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/0.1547, allocations: 126.6 kB / 0.6534 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1547, allocations: 7.844 kB / 0.6534 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.1547, allocations: 15.97 kB / 0.6534 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1547, allocations: 4 kB / 0.6534 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1547, allocations: 0 / 0.6534 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1547, allocations: 0 / 0.6534 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1549, allocations: 181.6 kB / 0.6536 GB, free: 8.738 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1549, allocations: 0 / 0.6536 GB, free: 8.738 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.1551, allocations: 27.98 kB / 0.6536 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1551, allocations: 3.938 kB / 0.6536 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1551, allocations: 8 kB / 0.6536 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1551, allocations: 0 / 0.6536 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1551, allocations: 4 kB / 0.6537 GB, free: 8.695 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1553, allocations: 144.9 kB / 0.6538 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.1554, allocations: 88.94 kB / 0.6539 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1554, allocations: 7.938 kB / 0.6539 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.1554, allocations: 4 kB / 0.6539 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.1555, allocations: 3.984 kB / 0.6539 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1555, allocations: 4 kB / 0.6539 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.935e-05/0.1555, allocations: 79.28 kB / 0.654 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1555, allocations: 4 kB / 0.654 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002001/0.1557, allocations: 20 kB / 0.654 GB, free: 8.309 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.923e-05/0.1558, allocations: 103.7 kB / 0.6541 GB, free: 8.199 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.156, allocations: 92.52 kB / 0.6542 GB, free: 8.109 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.156, allocations: 0 / 0.6542 GB, free: 8.109 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.156, allocations: 31.98 kB / 0.6542 GB, free: 8.078 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.1562, allocations: 16.12 kB / 0.6542 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.1571, allocations: 0.6166 MB / 0.6548 GB, free: 7.422 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.1573, allocations: 0.6922 MB / 0.6555 GB, free: 6.703 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.357e-05/0.1574, allocations: 40.61 kB / 0.6555 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.1574, allocations: 11.44 kB / 0.6556 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of SimCode: time 2.21e-07/0.1574, allocations: 3.938 kB / 0.6556 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of Templates: time 0.00273/0.1602, allocations: 0.6663 MB / 0.6562 GB, free: 6.012 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches