Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001382/0.001382, allocations: 110.5 kB / 17.07 MB, free: 5.996 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.001294/0.001295, allocations: 197.3 kB / 18 MB, free: 5.074 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.481/1.481, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.108/1.108, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 62.34 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1591, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002702/0.1618, allocations: 1.203 MB / 0.6509 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.1621, allocations: 43.81 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.1621, allocations: 0 / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.367e-05/0.1622, allocations: 4 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.1623, allocations: 7.922 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.1625, allocations: 11.98 kB / 0.6509 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1627, allocations: 75.86 kB / 0.651 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.1628, allocations: 0 / 0.651 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.1628, allocations: 27.97 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.1629, allocations: 27.91 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1629, allocations: 4 kB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.163, allocations: 4 kB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.163, allocations: 19.97 kB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.1631, allocations: 19.92 kB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.51e-05/0.1632, allocations: 35.83 kB / 0.6511 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1632, allocations: 4 kB / 0.6511 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1632, allocations: 0 / 0.6511 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1632, allocations: 0 / 0.6511 GB, free: 11.57 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.0006501/0.1639, allocations: 367.4 kB / 0.6515 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1639, allocations: 11.89 kB / 0.6515 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.164, allocations: 16.88 kB / 0.6515 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1642, allocations: 176.3 kB / 0.6517 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1642, allocations: 4.312 kB / 0.6517 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.1642, allocations: 12.38 kB / 0.6517 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1644, allocations: 70.2 kB / 0.6518 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1644, allocations: 4.188 kB / 0.6518 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1644, allocations: 7.938 kB / 0.6518 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1644, allocations: 0 / 0.6518 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.1645, allocations: 31.97 kB / 0.6518 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1648, allocations: 181.6 kB / 0.652 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1649, allocations: 74.47 kB / 0.6521 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.165, allocations: 32.84 kB / 0.6521 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.165, allocations: 0 / 0.6521 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1651, allocations: 38.56 kB / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.1651, allocations: 0 / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002861/0.1654, allocations: 113.8 kB / 0.6522 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1654, allocations: 51.41 kB / 0.6523 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.1655, allocations: 109.8 kB / 0.6524 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1655, allocations: 29.7 kB / 0.6524 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.1656, allocations: 80.14 kB / 0.6525 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.1657, allocations: 43.64 kB / 0.6525 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.1657, allocations: 45.64 kB / 0.6526 GB, free: 9.891 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1659, allocations: 310.8 kB / 0.6529 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.166, allocations: 39.97 kB / 0.6529 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1661, allocations: 79.58 kB / 0.653 GB, free: 9.449 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.1663, allocations: 120.8 kB / 0.6531 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1663, allocations: 0 / 0.6531 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002304/0.1665, allocations: 145.5 kB / 0.6532 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1665, allocations: 11.94 kB / 0.6533 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1665, allocations: 0 / 0.6533 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1666, allocations: 4 kB / 0.6533 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.1668, allocations: 40.05 kB / 0.6533 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1668, allocations: 4 kB / 0.6533 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1668, allocations: 11.95 kB / 0.6533 GB, free: 9.098 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1668, allocations: 4 kB / 0.6533 GB, free: 9.094 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 0.0001026/0.167, allocations: 122.6 kB / 0.6534 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.167, allocations: 7.891 kB / 0.6534 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.167, allocations: 11.97 kB / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.167, allocations: 0 / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.167, allocations: 0 / 0.6535 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1671, allocations: 4 kB / 0.6535 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1672, allocations: 185.6 kB / 0.6536 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1672, allocations: 0 / 0.6536 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.1675, allocations: 35.92 kB / 0.6537 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.1675, allocations: 3.938 kB / 0.6537 GB, free: 8.668 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1675, allocations: 4 kB / 0.6537 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1675, allocations: 0 / 0.6537 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1675, allocations: 0 / 0.6537 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1677, allocations: 141 kB / 0.6538 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1678, allocations: 92.98 kB / 0.6539 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1678, allocations: 4 kB / 0.6539 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.1679, allocations: 4 kB / 0.6539 GB, free: 8.391 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.1679, allocations: 3.984 kB / 0.6539 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1679, allocations: 4 kB / 0.6539 GB, free: 8.383 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.168, allocations: 83.28 kB / 0.654 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.168, allocations: 0 / 0.654 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002064/0.1682, allocations: 12 kB / 0.654 GB, free: 8.289 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 0.0001203/0.1683, allocations: 115.6 kB / 0.6541 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1685, allocations: 87.95 kB / 0.6542 GB, free: 8.082 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1685, allocations: 0 / 0.6542 GB, free: 8.082 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.244e-05/0.1686, allocations: 31.98 kB / 0.6542 GB, free: 8.051 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.1688, allocations: 7.938 kB / 0.6542 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009763/0.1698, allocations: 0.6279 MB / 0.6549 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1701, allocations: 0.6961 MB / 0.6555 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.714e-05/0.1702, allocations: 28.62 kB / 0.6556 GB, free: 6.637 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.1702, allocations: 15.44 kB / 0.6556 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of SimCode: time 2.745e-06/0.1702, allocations: 0 / 0.6556 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of Templates: time 0.003402/0.1737, allocations: 0.669 MB / 0.6562 GB, free: 5.988 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches