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.001198/0.001198, allocations: 179.9 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.418/1.418, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001024/0.001024, allocations: 98.12 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.026/1.026, allocations: 120.5 MB / 463 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8 kB / 0.5433 GB, free: 42.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 82.86 MB / 0.6242 GB, free: 9.195 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8831/1.068, allocations: 125.3 MB / 0.7466 GB, free: 8.609 MB / 0.5106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001316/1.068, allocations: 53.72 kB / 0.7466 GB, free: 8.586 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 0.002809/1.071, allocations: 1.019 MB / 0.7476 GB, free: 7.664 MB / 0.5106 GB Notification: Performance of FrontEnd: time 2.244e-06/1.071, allocations: 3.938 kB / 0.7476 GB, free: 7.66 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.071, allocations: 0 / 0.7476 GB, free: 7.66 MB / 0.5106 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.000389/1.071, allocations: 351.8 kB / 0.748 GB, free: 7.273 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.071, allocations: 8.031 kB / 0.748 GB, free: 7.266 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/1.071, allocations: 11.86 kB / 0.748 GB, free: 7.254 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/1.071, allocations: 171.1 kB / 0.7481 GB, free: 7.047 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/1.071, allocations: 7.938 kB / 0.7482 GB, free: 7.043 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/1.072, allocations: 7.688 kB / 0.7482 GB, free: 7.039 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.072, allocations: 64.97 kB / 0.7482 GB, free: 6.977 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.072, allocations: 11.89 kB / 0.7482 GB, free: 6.965 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.072, allocations: 7.875 kB / 0.7482 GB, free: 6.957 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/1.072, allocations: 11.94 kB / 0.7483 GB, free: 6.945 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.03e-05/1.072, allocations: 31.72 kB / 0.7483 GB, free: 6.922 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/1.072, allocations: 181.3 kB / 0.7485 GB, free: 6.707 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/1.072, allocations: 66.17 kB / 0.7485 GB, free: 6.645 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/1.072, allocations: 0 / 0.7485 GB, free: 6.645 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.072, allocations: 42.42 kB / 0.7486 GB, free: 6.598 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/1.072, allocations: 4 kB / 0.7486 GB, free: 6.594 MB / 0.5106 GB Notification: Performance of matching and sorting (n=8): time 0.0002401/1.072, allocations: 109 kB / 0.7487 GB, free: 6.496 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/1.073, allocations: 51.41 kB / 0.7487 GB, free: 6.434 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/1.073, allocations: 96.94 kB / 0.7488 GB, free: 6.332 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/1.073, allocations: 33.45 kB / 0.7488 GB, free: 6.297 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/1.073, allocations: 80.14 kB / 0.7489 GB, free: 6.215 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/1.073, allocations: 43.42 kB / 0.749 GB, free: 6.18 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/1.073, allocations: 0 / 0.749 GB, free: 6.18 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.073, allocations: 322.7 kB / 0.7493 GB, free: 5.859 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/1.073, allocations: 35.78 kB / 0.7493 GB, free: 5.832 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/1.073, allocations: 67.89 kB / 0.7494 GB, free: 5.762 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/1.073, allocations: 54.84 kB / 0.7494 GB, free: 5.723 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.073, allocations: 4 kB / 0.7494 GB, free: 5.719 MB / 0.5106 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001981/1.073, allocations: 140.7 kB / 0.7496 GB, free: 5.602 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.073, allocations: 10.95 kB / 0.7496 GB, free: 5.594 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.073, allocations: 0 / 0.7496 GB, free: 5.594 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.073, allocations: 4 kB / 0.7496 GB, free: 5.59 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/1.074, allocations: 35.92 kB / 0.7496 GB, free: 5.555 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.074, allocations: 0 / 0.7496 GB, free: 5.555 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/1.074, allocations: 11.81 kB / 0.7496 GB, free: 5.547 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.074, allocations: 7.953 kB / 0.7496 GB, free: 5.539 MB / 0.5106 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 9.317e-05/1.074, allocations: 125.8 kB / 0.7497 GB, free: 5.41 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/1.074, allocations: 7.906 kB / 0.7497 GB, free: 5.402 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.543e-05/1.074, allocations: 11.47 kB / 0.7498 GB, free: 5.395 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/1.074, allocations: 0 / 0.7498 GB, free: 5.395 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.074, allocations: 7.688 kB / 0.7498 GB, free: 5.391 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.074, allocations: 4 kB / 0.7498 GB, free: 5.387 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/1.074, allocations: 185.3 kB / 0.7499 GB, free: 5.164 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.074, allocations: 0 / 0.7499 GB, free: 5.164 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/1.074, allocations: 23.98 kB / 0.75 GB, free: 5.141 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/1.074, allocations: 8 kB / 0.75 GB, free: 5.133 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/1.074, allocations: 3.984 kB / 0.75 GB, free: 5.129 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.074, allocations: 0 / 0.75 GB, free: 5.129 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.074, allocations: 4 kB / 0.75 GB, free: 5.125 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/1.074, allocations: 152.4 kB / 0.7501 GB, free: 4.98 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/1.075, allocations: 81.02 kB / 0.7502 GB, free: 4.883 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/1.075, allocations: 7.984 kB / 0.7502 GB, free: 4.875 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.36e-05/1.075, allocations: 3.875 kB / 0.7502 GB, free: 4.875 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/1.075, allocations: 11.98 kB / 0.7502 GB, free: 4.863 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/1.075, allocations: 0 / 0.7502 GB, free: 4.863 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 3.667e-05/1.075, allocations: 79.28 kB / 0.7503 GB, free: 4.785 MB / 0.5106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.075, allocations: 0 / 0.7503 GB, free: 4.785 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.000191/1.075, allocations: 19.94 kB / 0.7503 GB, free: 4.77 MB / 0.5106 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.0001183/1.075, allocations: 100.7 kB / 0.7504 GB, free: 4.66 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.0001592/1.075, allocations: 87.44 kB / 0.7505 GB, free: 4.594 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.075, allocations: 4.062 kB / 0.7505 GB, free: 4.59 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/1.075, allocations: 36.53 kB / 0.7505 GB, free: 4.562 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/1.075, allocations: 3.953 kB / 0.7505 GB, free: 4.559 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009676/1.076, allocations: 0.7404 MB / 0.7513 GB, free: 3.809 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.077, allocations: 0.7081 MB / 0.752 GB, free: 3.078 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 8.873e-05/1.077, allocations: 24.64 kB / 0.752 GB, free: 3.051 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/1.077, allocations: 11.44 kB / 0.752 GB, free: 3.039 MB / 0.5106 GB Notification: Performance of SimCode: time 2.21e-07/1.077, allocations: 0 / 0.752 GB, free: 3.039 MB / 0.5106 GB Notification: Performance of Templates: time 0.002578/1.079, allocations: 0.6132 MB / 0.7526 GB, free: 2.473 MB / 0.5106 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches