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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 180.4 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007887/0.0007886, allocations: 93.55 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9349/0.9349, allocations: 120.4 MB / 440.6 MB, free: 4.105 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 11.98 kB / 0.5188 GB, free: 57.27 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 80.01 MB / 0.5969 GB, free: 9.141 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6178/0.7428, allocations: 124.4 MB / 0.7184 GB, free: 18.98 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.743, allocations: 56.02 kB / 0.7185 GB, free: 18.98 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.002479/0.7454, allocations: 1.008 MB / 0.7195 GB, free: 18.61 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7455, allocations: 0 / 0.7195 GB, free: 18.61 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.7455, allocations: 3.844 kB / 0.7195 GB, free: 18.61 MB / 0.4953 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.000332/0.7458, allocations: 353.2 kB / 0.7198 GB, free: 18.25 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7459, allocations: 7.688 kB / 0.7198 GB, free: 18.25 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.7459, allocations: 4.75 kB / 0.7198 GB, free: 18.25 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.746, allocations: 175.4 kB / 0.72 GB, free: 18.05 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.7461, allocations: 12.03 kB / 0.72 GB, free: 18.05 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.7461, allocations: 11.94 kB / 0.72 GB, free: 18.04 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.7462, allocations: 66.41 kB / 0.7201 GB, free: 18.01 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7463, allocations: 3.938 kB / 0.7201 GB, free: 18.01 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7463, allocations: 0 / 0.7201 GB, free: 18.01 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7463, allocations: 4.422 kB / 0.7201 GB, free: 18.01 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.7463, allocations: 35.86 kB / 0.7201 GB, free: 18 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.7465, allocations: 181.7 kB / 0.7203 GB, free: 17.82 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 9.95e-05/0.7466, allocations: 74.09 kB / 0.7204 GB, free: 17.79 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.7467, allocations: 31.58 kB / 0.7204 GB, free: 17.78 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.7467, allocations: 3.938 kB / 0.7204 GB, free: 17.77 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.7467, allocations: 39.89 kB / 0.7204 GB, free: 17.73 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.7467, allocations: 0 / 0.7204 GB, free: 17.73 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0002135/0.7469, allocations: 110.9 kB / 0.7205 GB, free: 17.7 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.747, allocations: 55.31 kB / 0.7206 GB, free: 17.63 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.158e-05/0.747, allocations: 99.83 kB / 0.7207 GB, free: 17.54 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.7471, allocations: 29.7 kB / 0.7207 GB, free: 17.5 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.7471, allocations: 84.08 kB / 0.7208 GB, free: 17.42 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.7471, allocations: 44.09 kB / 0.7208 GB, free: 17.39 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.7471, allocations: 3.594 kB / 0.7208 GB, free: 17.39 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.7472, allocations: 317.3 kB / 0.7211 GB, free: 17.07 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.7473, allocations: 42.44 kB / 0.7212 GB, free: 17.07 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.7473, allocations: 70.59 kB / 0.7212 GB, free: 17.03 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.7475, allocations: 116.4 kB / 0.7214 GB, free: 16.99 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7475, allocations: 0 / 0.7214 GB, free: 16.99 MB / 0.4953 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001626/0.7476, allocations: 148.4 kB / 0.7215 GB, free: 16.94 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.7477, allocations: 11.38 kB / 0.7215 GB, free: 16.94 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7477, allocations: 0 / 0.7215 GB, free: 16.94 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7477, allocations: 6.078 kB / 0.7215 GB, free: 16.94 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.7478, allocations: 32.19 kB / 0.7215 GB, free: 16.93 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.7479, allocations: 6.172 kB / 0.7216 GB, free: 16.93 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.7479, allocations: 11.53 kB / 0.7216 GB, free: 16.93 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.7479, allocations: 11.61 kB / 0.7216 GB, free: 16.92 MB / 0.4953 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 5.938e-05/0.748, allocations: 119.8 kB / 0.7217 GB, free: 16.8 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.748, allocations: 11.72 kB / 0.7217 GB, free: 16.8 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.7481, allocations: 7.906 kB / 0.7217 GB, free: 16.79 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.7481, allocations: 0 / 0.7217 GB, free: 16.79 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7481, allocations: 0.6875 kB / 0.7217 GB, free: 16.79 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.7481, allocations: 2.109 kB / 0.7217 GB, free: 16.79 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.7482, allocations: 181.7 kB / 0.7219 GB, free: 16.6 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7482, allocations: 0 / 0.7219 GB, free: 16.6 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.7484, allocations: 38.14 kB / 0.7219 GB, free: 16.59 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7484, allocations: 0 / 0.7219 GB, free: 16.59 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.7484, allocations: 7.781 kB / 0.7219 GB, free: 16.59 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7484, allocations: 0 / 0.7219 GB, free: 16.59 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7484, allocations: 10.84 kB / 0.7219 GB, free: 16.58 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.7486, allocations: 153.4 kB / 0.7221 GB, free: 16.5 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.7486, allocations: 77.11 kB / 0.7222 GB, free: 16.41 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.7486, allocations: 7.016 kB / 0.7222 GB, free: 16.41 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.883e-05/0.7487, allocations: 0 / 0.7222 GB, free: 16.41 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.7487, allocations: 6.516 kB / 0.7222 GB, free: 16.41 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.7487, allocations: 0 / 0.7222 GB, free: 16.41 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 2.181e-05/0.7487, allocations: 87 kB / 0.7223 GB, free: 16.33 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7487, allocations: 0 / 0.7223 GB, free: 16.33 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0001924/0.7489, allocations: 18.94 kB / 0.7223 GB, free: 16.33 MB / 0.4953 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 8.29e-05/0.749, allocations: 97.17 kB / 0.7224 GB, free: 16.24 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.7492, allocations: 90.8 kB / 0.7224 GB, free: 16.23 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7492, allocations: 0 / 0.7224 GB, free: 16.23 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.7492, allocations: 35.67 kB / 0.7225 GB, free: 16.23 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.7494, allocations: 12.06 kB / 0.7225 GB, free: 16.22 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.7502, allocations: 0.7406 MB / 0.7232 GB, free: 15.68 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.7503, allocations: 0.6998 MB / 0.7239 GB, free: 14.98 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.7504, allocations: 26.62 kB / 0.7239 GB, free: 14.98 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.7504, allocations: 15.22 kB / 0.7239 GB, free: 14.97 MB / 0.4953 GB Notification: Performance of SimCode: time 2.21e-07/0.7504, allocations: 0 / 0.7239 GB, free: 14.97 MB / 0.4953 GB Notification: Performance of Templates: time 0.0023/0.7528, allocations: 0.6251 MB / 0.7246 GB, free: 14.57 MB / 0.4953 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