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.001298/0.001298, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001341/0.001341, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.285/1.285, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9543/0.9543, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 59.91 kB / 0.4923 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5738, allocations: 80.7 MB / 0.5711 GB, free: 43.69 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002202/0.5761, allocations: 1.196 MB / 0.5723 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00017/0.5763, allocations: 42 kB / 0.5724 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.5763, allocations: 0 / 0.5724 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.53e-05/0.5764, allocations: 0 / 0.5724 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.5765, allocations: 10.2 kB / 0.5724 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.5766, allocations: 16.03 kB / 0.5724 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.5768, allocations: 70.8 kB / 0.5724 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.5768, allocations: 1.406 kB / 0.5724 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.5769, allocations: 25.58 kB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.5769, allocations: 36.33 kB / 0.5725 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.577, allocations: 2.75 kB / 0.5725 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.577, allocations: 2.75 kB / 0.5725 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.577, allocations: 14.86 kB / 0.5725 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.5771, allocations: 24.11 kB / 0.5726 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.496e-05/0.5771, allocations: 31.02 kB / 0.5726 GB, free: 42.59 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5772, allocations: 0 / 0.5726 GB, free: 42.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5772, allocations: 0 / 0.5726 GB, free: 42.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.5772, allocations: 3.938 kB / 0.5726 GB, free: 42.59 MB / 462.3 MB 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.000426/0.5776, allocations: 378.2 kB / 0.5729 GB, free: 42.2 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5777, allocations: 13.48 kB / 0.573 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.5777, allocations: 3.688 kB / 0.573 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5778, allocations: 180.5 kB / 0.5731 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5778, allocations: 6.875 kB / 0.5731 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.5779, allocations: 14.03 kB / 0.5732 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.578, allocations: 65.06 kB / 0.5732 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.578, allocations: 5.531 kB / 0.5732 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.578, allocations: 3.938 kB / 0.5732 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.578, allocations: 0.9375 kB / 0.5732 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.5781, allocations: 33.12 kB / 0.5733 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.5783, allocations: 187.3 kB / 0.5734 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.5784, allocations: 69.45 kB / 0.5735 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.5785, allocations: 32 kB / 0.5735 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.5785, allocations: 1.688 kB / 0.5735 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.5785, allocations: 38.55 kB / 0.5736 GB, free: 41.58 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.5785, allocations: 1.75 kB / 0.5736 GB, free: 41.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002138/0.5787, allocations: 114.4 kB / 0.5737 GB, free: 41.51 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.5787, allocations: 52.84 kB / 0.5737 GB, free: 41.45 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.729e-05/0.5788, allocations: 101.3 kB / 0.5738 GB, free: 41.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.5788, allocations: 27.27 kB / 0.5739 GB, free: 41.31 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.5788, allocations: 85.58 kB / 0.5739 GB, free: 41.22 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.5789, allocations: 39.61 kB / 0.574 GB, free: 41.19 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.5789, allocations: 33.41 kB / 0.574 GB, free: 41.16 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.579, allocations: 321.6 kB / 0.5743 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.579, allocations: 36.44 kB / 0.5743 GB, free: 40.82 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.5791, allocations: 74.66 kB / 0.5744 GB, free: 40.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.5792, allocations: 124.5 kB / 0.5745 GB, free: 40.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5792, allocations: 0 / 0.5745 GB, free: 40.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001827/0.5794, allocations: 149.2 kB / 0.5747 GB, free: 40.59 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5795, allocations: 10.19 kB / 0.5747 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5795, allocations: 1.125 kB / 0.5747 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.5795, allocations: 11.27 kB / 0.5747 GB, free: 40.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.5797, allocations: 30.61 kB / 0.5747 GB, free: 40.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.5797, allocations: 1.562 kB / 0.5747 GB, free: 40.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.5797, allocations: 15.59 kB / 0.5747 GB, free: 40.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5797, allocations: 8.562 kB / 0.5748 GB, free: 40.56 MB / 462.3 MB 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 5.708e-05/0.5798, allocations: 121.9 kB / 0.5749 GB, free: 40.43 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.5798, allocations: 6.438 kB / 0.5749 GB, free: 40.43 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.5799, allocations: 11.95 kB / 0.5749 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5799, allocations: 1.406 kB / 0.5749 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5799, allocations: 9.438 kB / 0.5749 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5799, allocations: 0 / 0.5749 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.226e-05/0.58, allocations: 177.6 kB / 0.5751 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.58, allocations: 0 / 0.5751 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.5802, allocations: 27.77 kB / 0.5751 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.5802, allocations: 3.938 kB / 0.5751 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.5802, allocations: 11.17 kB / 0.5751 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5802, allocations: 0 / 0.5751 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5802, allocations: 5.031 kB / 0.5751 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.5804, allocations: 145 kB / 0.5753 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.5804, allocations: 86.58 kB / 0.5753 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.5805, allocations: 8.266 kB / 0.5753 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.5805, allocations: 9.516 kB / 0.5754 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.5805, allocations: 1.438 kB / 0.5754 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.5805, allocations: 6.641 kB / 0.5754 GB, free: 39.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.5806, allocations: 81.94 kB / 0.5754 GB, free: 39.88 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5806, allocations: 0 / 0.5754 GB, free: 39.88 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001993/0.5808, allocations: 17.56 kB / 0.5755 GB, free: 39.88 MB / 462.3 MB 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 7.829e-05/0.5809, allocations: 99.34 kB / 0.5755 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.581, allocations: 91.77 kB / 0.5756 GB, free: 39.75 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.581, allocations: 0 / 0.5756 GB, free: 39.75 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.5811, allocations: 38.44 kB / 0.5757 GB, free: 39.73 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.5813, allocations: 5.344 kB / 0.5757 GB, free: 39.73 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.5821, allocations: 0.6174 MB / 0.5763 GB, free: 39.2 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.5822, allocations: 0.6929 MB / 0.577 GB, free: 38.49 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.5823, allocations: 29.08 kB / 0.577 GB, free: 38.47 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.5823, allocations: 11.81 kB / 0.577 GB, free: 38.46 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.5823, allocations: 0 / 0.577 GB, free: 38.46 MB / 462.3 MB Notification: Performance of Templates: time 0.002651/0.585, allocations: 0.6448 MB / 0.5776 GB, free: 38.17 MB / 462.3 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches