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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009477, allocations: 100.6 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9034/0.9034, allocations: 120.5 MB / 463.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003374, allocations: 8 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 82.86 MB / 0.6242 GB, free: 9.227 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7523/0.9141, allocations: 125.3 MB / 0.7466 GB, free: 8.758 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.9143, allocations: 46.23 kB / 0.7466 GB, free: 8.738 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.002926/0.9173, allocations: 1.023 MB / 0.7476 GB, free: 7.82 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9173, allocations: 0 / 0.7476 GB, free: 7.82 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.9173, allocations: 0 / 0.7476 GB, free: 7.82 MB / 0.5107 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.0003864/0.9177, allocations: 355.5 kB / 0.748 GB, free: 7.43 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.9178, allocations: 8.031 kB / 0.748 GB, free: 7.422 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.9178, allocations: 15.8 kB / 0.748 GB, free: 7.406 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.918, allocations: 171.1 kB / 0.7482 GB, free: 7.199 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.918, allocations: 7.875 kB / 0.7482 GB, free: 7.195 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.918, allocations: 4 kB / 0.7482 GB, free: 7.191 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.9182, allocations: 69.95 kB / 0.7482 GB, free: 7.129 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.9182, allocations: 3.906 kB / 0.7483 GB, free: 7.125 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9182, allocations: 4 kB / 0.7483 GB, free: 7.121 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.9182, allocations: 3.953 kB / 0.7483 GB, free: 7.117 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.9183, allocations: 31.91 kB / 0.7483 GB, free: 7.09 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.9185, allocations: 193.1 kB / 0.7485 GB, free: 6.863 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.9187, allocations: 69.86 kB / 0.7485 GB, free: 6.801 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.9187, allocations: 0 / 0.7485 GB, free: 6.801 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.9187, allocations: 30.56 kB / 0.7486 GB, free: 6.762 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.9187, allocations: 4 kB / 0.7486 GB, free: 6.758 MB / 0.5107 GB Notification: Performance of matching and sorting (n=8): time 0.0002343/0.9189, allocations: 117.3 kB / 0.7487 GB, free: 6.652 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.919, allocations: 55.34 kB / 0.7487 GB, free: 6.586 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.9191, allocations: 96.83 kB / 0.7488 GB, free: 6.488 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.9191, allocations: 25.7 kB / 0.7489 GB, free: 6.457 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.9191, allocations: 87.95 kB / 0.7489 GB, free: 6.371 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.9192, allocations: 35.39 kB / 0.749 GB, free: 6.34 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.9192, allocations: 3.875 kB / 0.749 GB, free: 6.34 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9193, allocations: 322.6 kB / 0.7493 GB, free: 6.02 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.9194, allocations: 39.78 kB / 0.7493 GB, free: 5.988 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.9194, allocations: 66.95 kB / 0.7494 GB, free: 5.918 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.9195, allocations: 47.91 kB / 0.7494 GB, free: 5.887 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.9195, allocations: 0 / 0.7494 GB, free: 5.887 MB / 0.5107 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002131/0.9198, allocations: 152.3 kB / 0.7496 GB, free: 5.758 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9198, allocations: 8 kB / 0.7496 GB, free: 5.75 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9198, allocations: 0 / 0.7496 GB, free: 5.75 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.9198, allocations: 4 kB / 0.7496 GB, free: 5.746 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.92, allocations: 31.92 kB / 0.7496 GB, free: 5.715 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.92, allocations: 7.984 kB / 0.7496 GB, free: 5.707 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.92, allocations: 7.938 kB / 0.7496 GB, free: 5.699 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.9201, allocations: 14.89 kB / 0.7496 GB, free: 5.691 MB / 0.5107 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.145e-05/0.9201, allocations: 117.8 kB / 0.7498 GB, free: 5.57 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.9202, allocations: 7.906 kB / 0.7498 GB, free: 5.562 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.9202, allocations: 15.81 kB / 0.7498 GB, free: 5.547 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.9202, allocations: 0 / 0.7498 GB, free: 5.547 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9202, allocations: 0 / 0.7498 GB, free: 5.547 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9202, allocations: 0 / 0.7498 GB, free: 5.547 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.9204, allocations: 177.4 kB / 0.75 GB, free: 5.332 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9204, allocations: 3.938 kB / 0.75 GB, free: 5.328 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.9206, allocations: 31.86 kB / 0.75 GB, free: 5.301 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9206, allocations: 3.938 kB / 0.75 GB, free: 5.297 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.9206, allocations: 11.98 kB / 0.75 GB, free: 5.285 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9206, allocations: 0 / 0.75 GB, free: 5.285 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9206, allocations: 0 / 0.75 GB, free: 5.285 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.9208, allocations: 157.2 kB / 0.7502 GB, free: 5.137 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.9209, allocations: 81.02 kB / 0.7502 GB, free: 5.039 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.9209, allocations: 7.984 kB / 0.7502 GB, free: 5.031 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.921, allocations: 0 / 0.7502 GB, free: 5.031 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.921, allocations: 4 kB / 0.7502 GB, free: 5.027 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.921, allocations: 11.88 kB / 0.7503 GB, free: 5.02 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.921, allocations: 83.27 kB / 0.7503 GB, free: 4.938 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9211, allocations: 0 / 0.7503 GB, free: 4.938 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0001917/0.9213, allocations: 15.62 kB / 0.7503 GB, free: 4.926 MB / 0.5107 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 (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.0001078/0.9214, allocations: 99.25 kB / 0.7504 GB, free: 4.816 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.9215, allocations: 86.7 kB / 0.7505 GB, free: 4.75 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9215, allocations: 4.25 kB / 0.7505 GB, free: 4.746 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.9216, allocations: 40.38 kB / 0.7506 GB, free: 4.711 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.9217, allocations: 7.641 kB / 0.7506 GB, free: 4.707 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.9227, allocations: 0.7337 MB / 0.7513 GB, free: 3.961 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.9229, allocations: 0.6965 MB / 0.752 GB, free: 3.238 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 7.158e-05/0.923, allocations: 32.58 kB / 0.752 GB, free: 3.203 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.923, allocations: 11.44 kB / 0.752 GB, free: 3.191 MB / 0.5107 GB Notification: Performance of SimCode: time 2.11e-07/0.923, allocations: 0 / 0.752 GB, free: 3.191 MB / 0.5107 GB Notification: Performance of Templates: time 0.002564/0.9256, allocations: 0.62 MB / 0.7526 GB, free: 2.621 MB / 0.5107 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches