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 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_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 3.2.3+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 175.7 kB / 17.4 MB, free: 4.422 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.244/1.244, 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.0007397/0.0007398, allocations: 78.38 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7629/0.7629, allocations: 120.4 MB / 440.6 MB, free: 4.102 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 19.98 kB / 0.5188 GB, free: 57.27 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1163, allocations: 79.99 MB / 0.5969 GB, free: 9.137 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5782/0.6945, allocations: 124.4 MB / 0.7184 GB, free: 18.74 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000165/0.6947, allocations: 51.39 kB / 0.7185 GB, free: 18.74 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.002471/0.6972, allocations: 1.012 MB / 0.7195 GB, free: 18.36 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6972, allocations: 0 / 0.7195 GB, free: 18.36 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.6973, allocations: 0 / 0.7195 GB, free: 18.36 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.000294/0.6976, allocations: 352.1 kB / 0.7198 GB, free: 18 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6976, allocations: 7.688 kB / 0.7198 GB, free: 18 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.6976, allocations: 8.906 kB / 0.7198 GB, free: 18 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6978, allocations: 183.3 kB / 0.72 GB, free: 17.79 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.6978, allocations: 8.062 kB / 0.72 GB, free: 17.79 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.6978, allocations: 12.06 kB / 0.72 GB, free: 17.79 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.6979, allocations: 65.56 kB / 0.7201 GB, free: 17.76 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.698, allocations: 7.625 kB / 0.7201 GB, free: 17.75 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.698, allocations: 3.938 kB / 0.7201 GB, free: 17.75 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.698, allocations: 3.984 kB / 0.7201 GB, free: 17.75 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.6981, allocations: 30.84 kB / 0.7201 GB, free: 17.75 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.6982, allocations: 182.5 kB / 0.7203 GB, free: 17.56 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.6983, allocations: 72.83 kB / 0.7204 GB, free: 17.53 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.6984, allocations: 33.05 kB / 0.7204 GB, free: 17.52 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.6984, allocations: 0 / 0.7204 GB, free: 17.52 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.6984, allocations: 34.41 kB / 0.7204 GB, free: 17.48 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.6984, allocations: 3.828 kB / 0.7204 GB, free: 17.48 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0001955/0.6986, allocations: 120 kB / 0.7205 GB, free: 17.44 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.6986, allocations: 55.41 kB / 0.7206 GB, free: 17.38 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.376e-05/0.6987, allocations: 102.6 kB / 0.7207 GB, free: 17.28 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.6987, allocations: 25.7 kB / 0.7207 GB, free: 17.25 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.766e-05/0.6987, allocations: 87.83 kB / 0.7208 GB, free: 17.16 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.6988, allocations: 33.3 kB / 0.7208 GB, free: 17.14 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.6988, allocations: 3.875 kB / 0.7208 GB, free: 17.14 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.6988, allocations: 320.8 kB / 0.7211 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.6989, allocations: 34.75 kB / 0.7212 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.699, allocations: 77.58 kB / 0.7212 GB, free: 16.79 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.6991, allocations: 109.1 kB / 0.7213 GB, free: 16.74 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6991, allocations: 4 kB / 0.7214 GB, free: 16.74 MB / 0.4953 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001597/0.6993, allocations: 152.8 kB / 0.7215 GB, free: 16.69 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.6993, allocations: 3.844 kB / 0.7215 GB, free: 16.69 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6993, allocations: 3.625 kB / 0.7215 GB, free: 16.69 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6993, allocations: 0 / 0.7215 GB, free: 16.69 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.6995, allocations: 33.69 kB / 0.7215 GB, free: 16.69 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6995, allocations: 6.516 kB / 0.7215 GB, free: 16.69 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.6995, allocations: 15.28 kB / 0.7216 GB, free: 16.68 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.6995, allocations: 4.547 kB / 0.7216 GB, free: 16.68 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.367e-05/0.6996, allocations: 124.6 kB / 0.7217 GB, free: 16.56 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.6996, allocations: 7.781 kB / 0.7217 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.6996, allocations: 11.53 kB / 0.7217 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6997, allocations: 0 / 0.7217 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6997, allocations: 0 / 0.7217 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6997, allocations: 0 / 0.7217 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.245e-05/0.6998, allocations: 185.7 kB / 0.7219 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6998, allocations: 0 / 0.7219 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.6999, allocations: 34.88 kB / 0.7219 GB, free: 16.35 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7, allocations: 4 kB / 0.7219 GB, free: 16.34 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.7, allocations: 8.922 kB / 0.7219 GB, free: 16.34 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7, allocations: 0.7656 kB / 0.7219 GB, free: 16.34 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7, allocations: 0 / 0.7219 GB, free: 16.34 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.7002, allocations: 152 kB / 0.7221 GB, free: 16.27 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.7002, allocations: 80.8 kB / 0.7221 GB, free: 16.17 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.7002, allocations: 5.625 kB / 0.7222 GB, free: 16.17 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.7003, allocations: 9.391 kB / 0.7222 GB, free: 16.17 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.7003, allocations: 5.734 kB / 0.7222 GB, free: 16.16 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.7003, allocations: 3.719 kB / 0.7222 GB, free: 16.16 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 2.004e-05/0.7003, allocations: 80.28 kB / 0.7222 GB, free: 16.09 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7003, allocations: 0 / 0.7222 GB, free: 16.09 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0001812/0.7005, allocations: 18.88 kB / 0.7223 GB, free: 16.09 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.601e-05/0.7006, allocations: 104.8 kB / 0.7224 GB, free: 16 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.7008, allocations: 91.78 kB / 0.7225 GB, free: 15.98 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7008, allocations: 4.062 kB / 0.7225 GB, free: 15.98 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.7008, allocations: 32.61 kB / 0.7225 GB, free: 15.98 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.701, allocations: 10.25 kB / 0.7225 GB, free: 15.98 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007407/0.7017, allocations: 0.7517 MB / 0.7232 GB, free: 15.43 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.7018, allocations: 0.6908 MB / 0.7239 GB, free: 14.73 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.7019, allocations: 31.12 kB / 0.7239 GB, free: 14.73 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.7019, allocations: 11.28 kB / 0.7239 GB, free: 14.72 MB / 0.4953 GB Notification: Performance of SimCode: time 2.2e-07/0.7019, allocations: 0 / 0.7239 GB, free: 14.72 MB / 0.4953 GB Notification: Performance of Templates: time 0.002322/0.7043, allocations: 0.6181 MB / 0.7245 GB, free: 14.46 MB / 0.4953 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/jenkins1/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