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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.5 MB / 230.3 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 89.56 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.008/1.008, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.353e-05/1.355e-05, allocations: 4 kB / 0.5288 GB, free: 1.301 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.5177, allocations: 82.83 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.6566, allocations: 124.6 MB / 0.7313 GB, free: 348 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001282/0.6567, allocations: 59.91 kB / 0.7314 GB, free: 292 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.002813/0.6596, allocations: 1.013 MB / 0.7324 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6596, allocations: 0 / 0.7324 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.6596, allocations: 4 kB / 0.7324 GB, free: 15.26 MB / 0.5419 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.0003355/0.6599, allocations: 342.5 kB / 0.7327 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.66, allocations: 12.03 kB / 0.7327 GB, free: 14.87 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.66, allocations: 7.859 kB / 0.7327 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.6602, allocations: 179 kB / 0.7329 GB, free: 14.65 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.6602, allocations: 4 kB / 0.7329 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.6603, allocations: 4 kB / 0.7329 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.842e-05/0.6604, allocations: 35.91 kB / 0.7329 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.6605, allocations: 61.67 kB / 0.733 GB, free: 14.54 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6605, allocations: 3.984 kB / 0.733 GB, free: 14.54 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.6605, allocations: 3.953 kB / 0.733 GB, free: 14.53 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6605, allocations: 4 kB / 0.733 GB, free: 14.53 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.6607, allocations: 162.1 kB / 0.7331 GB, free: 14.33 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.6608, allocations: 62.56 kB / 0.7332 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.6609, allocations: 32.8 kB / 0.7332 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.6609, allocations: 4 kB / 0.7332 GB, free: 14.22 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.6609, allocations: 34.55 kB / 0.7333 GB, free: 14.18 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.6609, allocations: 0 / 0.7333 GB, free: 14.18 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0001858/0.6611, allocations: 82.05 kB / 0.7334 GB, free: 14.09 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.6612, allocations: 55.34 kB / 0.7334 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.6612, allocations: 93 kB / 0.7335 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.6613, allocations: 25.7 kB / 0.7335 GB, free: 13.89 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.6613, allocations: 84.14 kB / 0.7336 GB, free: 13.81 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.6613, allocations: 39.45 kB / 0.7336 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-06/0.6614, allocations: 0 / 0.7336 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6615, allocations: 322.8 kB / 0.7339 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.6615, allocations: 31.98 kB / 0.734 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.6616, allocations: 68.22 kB / 0.734 GB, free: 13.33 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.654e-05/0.6617, allocations: 51.95 kB / 0.7341 GB, free: 13.28 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6617, allocations: 4 kB / 0.7341 GB, free: 13.28 MB / 0.5419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001827/0.6619, allocations: 125.7 kB / 0.7342 GB, free: 13.15 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6619, allocations: 8 kB / 0.7342 GB, free: 13.14 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6619, allocations: 0 / 0.7342 GB, free: 13.14 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.662, allocations: 3.984 kB / 0.7342 GB, free: 13.14 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.6621, allocations: 35.92 kB / 0.7343 GB, free: 13.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.6621, allocations: 4.281 kB / 0.7343 GB, free: 13.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.6622, allocations: 7.938 kB / 0.7343 GB, free: 13.09 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.6622, allocations: 12 kB / 0.7343 GB, free: 13.08 MB / 0.5419 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/0.6623, allocations: 104.9 kB / 0.7344 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.6623, allocations: 3.906 kB / 0.7344 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.6624, allocations: 12.41 kB / 0.7344 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.6624, allocations: 3.938 kB / 0.7344 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6624, allocations: 0 / 0.7344 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6624, allocations: 7.984 kB / 0.7344 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.6625, allocations: 158.2 kB / 0.7346 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6625, allocations: 0 / 0.7346 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.6627, allocations: 31.98 kB / 0.7346 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6627, allocations: 0 / 0.7346 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.6627, allocations: 4 kB / 0.7346 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.6628, allocations: 7.922 kB / 0.7346 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6628, allocations: 0 / 0.7346 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.663, allocations: 138.9 kB / 0.7347 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.663, allocations: 92.91 kB / 0.7348 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.6631, allocations: 11.94 kB / 0.7348 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-05/0.6631, allocations: 3.984 kB / 0.7348 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.6631, allocations: 7.938 kB / 0.7348 GB, free: 12.42 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.6631, allocations: 0 / 0.7348 GB, free: 12.42 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.6632, allocations: 83.27 kB / 0.7349 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6632, allocations: 0 / 0.7349 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000195/0.6634, allocations: 12 kB / 0.7349 GB, free: 12.33 MB / 0.5419 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000126/0.6635, allocations: 95.25 kB / 0.735 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.6637, allocations: 83.91 kB / 0.7351 GB, free: 12.14 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6637, allocations: 0 / 0.7351 GB, free: 12.14 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.6637, allocations: 31.98 kB / 0.7351 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.6638, allocations: 0 / 0.7351 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008268/0.6647, allocations: 0.6105 MB / 0.7357 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.665, allocations: 0.6963 MB / 0.7364 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.702e-05/0.6651, allocations: 28.64 kB / 0.7364 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.6651, allocations: 11.44 kB / 0.7365 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of SimCode: time 2.71e-07/0.6651, allocations: 0 / 0.7365 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of Templates: time 0.002275/0.6674, allocations: 0.5912 MB / 0.737 GB, free: 10.15 MB / 0.5419 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","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches