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.001393/0.001394, allocations: 107.7 kB / 17.74 MB, free: 5.363 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.001374/0.001374, allocations: 181.2 kB / 18.66 MB, free: 4.449 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.077/1.077, allocations: 119.3 MB / 411.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.27 kB / 0.5715 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1622, allocations: 80.7 MB / 0.6504 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002691/0.165, allocations: 1.196 MB / 0.6515 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002192/0.1652, allocations: 39.83 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.1653, allocations: 0 / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.918e-05/0.1654, allocations: 3.984 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.1655, allocations: 3.938 kB / 0.6516 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1657, allocations: 27.95 kB / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1658, allocations: 71.88 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.1659, allocations: 0 / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.1659, allocations: 27.97 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.166, allocations: 27.91 kB / 0.6517 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.166, allocations: 0 / 0.6517 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.1661, allocations: 4 kB / 0.6517 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.1661, allocations: 19.97 kB / 0.6517 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.1662, allocations: 15.94 kB / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.078e-05/0.1663, allocations: 35.89 kB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1663, allocations: 0 / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1663, allocations: 4 kB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.1663, allocations: 0 / 0.6518 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.0005557/0.1668, allocations: 363.5 kB / 0.6521 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1669, allocations: 11.89 kB / 0.6522 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1669, allocations: 12.84 kB / 0.6522 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.1671, allocations: 184.2 kB / 0.6523 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1671, allocations: 12.31 kB / 0.6523 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1672, allocations: 8.375 kB / 0.6524 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1673, allocations: 66.22 kB / 0.6524 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1674, allocations: 192 / 0.6524 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1674, allocations: 7.938 kB / 0.6524 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1674, allocations: 4 kB / 0.6524 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.1675, allocations: 27.97 kB / 0.6525 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.1677, allocations: 185.5 kB / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1678, allocations: 74.48 kB / 0.6527 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.1679, allocations: 32.84 kB / 0.6527 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.1679, allocations: 0 / 0.6527 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1679, allocations: 34.56 kB / 0.6528 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.168, allocations: 0 / 0.6528 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002562/0.1682, allocations: 121.8 kB / 0.6529 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.1683, allocations: 55.34 kB / 0.6529 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.668e-05/0.1683, allocations: 97.86 kB / 0.653 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1684, allocations: 33.7 kB / 0.6531 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.1684, allocations: 88.08 kB / 0.6531 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.1685, allocations: 35.45 kB / 0.6532 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.1685, allocations: 37.7 kB / 0.6532 GB, free: 9.902 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.1686, allocations: 314.8 kB / 0.6535 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.1687, allocations: 43.98 kB / 0.6536 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.1688, allocations: 76.25 kB / 0.6536 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1689, allocations: 108.5 kB / 0.6537 GB, free: 9.332 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.169, allocations: 0 / 0.6537 GB, free: 9.332 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001948/0.1692, allocations: 153.5 kB / 0.6539 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1692, allocations: 11.94 kB / 0.6539 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1692, allocations: 0 / 0.6539 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1692, allocations: 4 kB / 0.6539 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1694, allocations: 27.98 kB / 0.6539 GB, free: 9.133 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.1694, allocations: 7.938 kB / 0.6539 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.1695, allocations: 15.92 kB / 0.6539 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1695, allocations: 4 kB / 0.654 GB, free: 9.105 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.446e-05/0.1696, allocations: 118.8 kB / 0.6541 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.1696, allocations: 16.03 kB / 0.6541 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.1696, allocations: 11.95 kB / 0.6541 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1696, allocations: 0 / 0.6541 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1696, allocations: 3.984 kB / 0.6541 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1697, allocations: 0 / 0.6541 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.1698, allocations: 177.6 kB / 0.6543 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1698, allocations: 4 kB / 0.6543 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.17, allocations: 27.98 kB / 0.6543 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.17, allocations: 7.875 kB / 0.6543 GB, free: 8.684 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.17, allocations: 7.984 kB / 0.6543 GB, free: 8.676 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.17, allocations: 4 kB / 0.6543 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.17, allocations: 0 / 0.6543 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1702, allocations: 144.2 kB / 0.6545 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.1703, allocations: 84.95 kB / 0.6545 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1703, allocations: 8 kB / 0.6545 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.334e-05/0.1704, allocations: 3.984 kB / 0.6545 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.1704, allocations: 4.078 kB / 0.6545 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1704, allocations: 0 / 0.6545 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.1704, allocations: 91.27 kB / 0.6546 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1704, allocations: 0 / 0.6546 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001949/0.1706, allocations: 12 kB / 0.6546 GB, free: 8.297 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 9.674e-05/0.1708, allocations: 107.7 kB / 0.6548 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1709, allocations: 87.88 kB / 0.6548 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.171, allocations: 0 / 0.6548 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 4.801e-05/0.171, allocations: 36.23 kB / 0.6549 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.1712, allocations: 23.8 kB / 0.6549 GB, free: 8.039 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008762/0.1721, allocations: 0.6375 MB / 0.6555 GB, free: 7.371 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1724, allocations: 0.7039 MB / 0.6562 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1724, allocations: 11.44 kB / 0.6562 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.1724, allocations: 0 / 0.6562 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of Templates: time 0.00244/0.1748, allocations: 0.9801 MB / 0.6572 GB, free: 5.648 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