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.001558/0.001558, allocations: 110.5 kB / 17.06 MB, free: 5.824 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.001515/0.001515, allocations: 191.8 kB / 18 MB, free: 4.977 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9792/0.9792, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.28 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 80.7 MB / 0.6497 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002052/0.1511, allocations: 1.199 MB / 0.6509 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001812/0.1513, allocations: 31.89 kB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.1514, allocations: 0 / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.1515, allocations: 11.94 kB / 0.6509 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.1515, allocations: 11.97 kB / 0.6509 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.1517, allocations: 15.92 kB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1519, allocations: 71.92 kB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.1519, allocations: 0 / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.152, allocations: 27.92 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.152, allocations: 27.89 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1521, allocations: 4 kB / 0.6511 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.1521, allocations: 4 kB / 0.6511 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.1521, allocations: 15.98 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.1522, allocations: 23.92 kB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.734e-05/0.1523, allocations: 35.88 kB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1523, allocations: 4 kB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1523, allocations: 0 / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1523, allocations: 0 / 0.6511 GB, free: 11.61 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.0005225/0.1528, allocations: 359.5 kB / 0.6515 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1529, allocations: 15.89 kB / 0.6515 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.1529, allocations: 16.83 kB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1531, allocations: 176.3 kB / 0.6517 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1531, allocations: 4.312 kB / 0.6517 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.1531, allocations: 12.38 kB / 0.6517 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1533, allocations: 70.16 kB / 0.6518 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1533, allocations: 192 / 0.6518 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1533, allocations: 7.938 kB / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1533, allocations: 0 / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.1534, allocations: 35.95 kB / 0.6518 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.1536, allocations: 189.5 kB / 0.652 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1538, allocations: 66.55 kB / 0.652 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.1538, allocations: 28.84 kB / 0.6521 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1539, allocations: 4 kB / 0.6521 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1539, allocations: 38.73 kB / 0.6521 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1539, allocations: 0 / 0.6521 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002441/0.1541, allocations: 109.6 kB / 0.6522 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1542, allocations: 59.41 kB / 0.6523 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.1543, allocations: 105.8 kB / 0.6524 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1543, allocations: 33.64 kB / 0.6524 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.1543, allocations: 80.14 kB / 0.6525 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1544, allocations: 35.45 kB / 0.6525 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.1544, allocations: 37.7 kB / 0.6526 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1545, allocations: 314.8 kB / 0.6529 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.1546, allocations: 43.97 kB / 0.6529 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.1547, allocations: 79.3 kB / 0.653 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1549, allocations: 112.5 kB / 0.6531 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1549, allocations: 4 kB / 0.6531 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002016/0.1551, allocations: 149.5 kB / 0.6532 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1551, allocations: 7.938 kB / 0.6532 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1551, allocations: 4 kB / 0.6532 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1551, allocations: 0 / 0.6532 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1553, allocations: 35.92 kB / 0.6533 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1553, allocations: 4 kB / 0.6533 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1554, allocations: 11.94 kB / 0.6533 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1554, allocations: 8.125 kB / 0.6533 GB, free: 9.145 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 7.959e-05/0.1555, allocations: 126.6 kB / 0.6534 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.1555, allocations: 7.844 kB / 0.6534 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.1555, allocations: 11.97 kB / 0.6534 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1556, allocations: 0 / 0.6534 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1556, allocations: 0 / 0.6534 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1556, allocations: 4 kB / 0.6534 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.1557, allocations: 177.6 kB / 0.6536 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1557, allocations: 0 / 0.6536 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.1559, allocations: 35.98 kB / 0.6536 GB, free: 8.727 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1559, allocations: 3.938 kB / 0.6536 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1559, allocations: 4 kB / 0.6536 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1559, allocations: 0 / 0.6536 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1559, allocations: 0 / 0.6536 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.1562, allocations: 148.9 kB / 0.6538 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.1562, allocations: 88.95 kB / 0.6539 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1562, allocations: 4 kB / 0.6539 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.1563, allocations: 8 kB / 0.6539 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.1563, allocations: 3.984 kB / 0.6539 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1563, allocations: 4 kB / 0.6539 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.1564, allocations: 83.28 kB / 0.654 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1564, allocations: 0 / 0.654 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001986/0.1566, allocations: 12 kB / 0.654 GB, free: 8.336 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.08e-05/0.1567, allocations: 107.7 kB / 0.6541 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1569, allocations: 88.64 kB / 0.6542 GB, free: 8.137 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1569, allocations: 0 / 0.6542 GB, free: 8.137 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.1569, allocations: 39.86 kB / 0.6542 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.1571, allocations: 7.938 kB / 0.6542 GB, free: 8.09 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/0.1579, allocations: 0.6287 MB / 0.6548 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1582, allocations: 0.6961 MB / 0.6555 GB, free: 6.715 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.1583, allocations: 28.62 kB / 0.6555 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1583, allocations: 11.44 kB / 0.6555 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of SimCode: time 1.463e-06/0.1583, allocations: 0 / 0.6555 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of Templates: time 0.002627/0.161, allocations: 0.6761 MB / 0.6562 GB, free: 6.031 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches