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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002435/0.002435, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1/1, allocations: 88.09 MB / 349.2 MB, free: 14.25 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 450.8 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.533e-05, allocations: 3.188 kB / 450.8 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002133/0.002168, allocations: 1.214 MB / 452 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.002364, allocations: 38.72 kB / 452.1 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.002402, allocations: 0 / 452.1 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.162e-05/0.002494, allocations: 0 / 452.1 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.002557, allocations: 6.078 kB / 452.1 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.002733, allocations: 27.86 kB / 452.1 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.002867, allocations: 70.48 kB / 452.2 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.002904, allocations: 6.953 kB / 452.2 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.002967, allocations: 35.75 kB / 452.2 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.003039, allocations: 28.81 kB / 452.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.003062, allocations: 2.781 kB / 452.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.003077, allocations: 2.938 kB / 452.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.003127, allocations: 13.39 kB / 452.3 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.003164, allocations: 23.75 kB / 452.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.003249, allocations: 31.67 kB / 452.3 MB, free: 32.14 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.003252, allocations: 0 / 452.3 MB, free: 32.14 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003253, allocations: 2.969 kB / 452.3 MB, free: 32.14 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.003259, allocations: 0 / 452.3 MB, free: 32.14 MB / 410.8 MB 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.0004624/0.003721, allocations: 400 kB / 452.7 MB, free: 31.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.003763, allocations: 8.719 kB / 452.7 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.003814, allocations: 9.812 kB / 452.7 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.00395, allocations: 126.5 kB / 452.9 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.003963, allocations: 11.22 kB / 452.9 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.003995, allocations: 18.73 kB / 452.9 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.004115, allocations: 52.56 kB / 452.9 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.004129, allocations: 2.75 kB / 452.9 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.00414, allocations: 8.312 kB / 452.9 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.004144, allocations: 384 / 452.9 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.004206, allocations: 22.05 kB / 453 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.004375, allocations: 131.3 kB / 453.1 MB, free: 31.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.004486, allocations: 64.42 kB / 453.2 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.004522, allocations: 16.31 kB / 453.2 MB, free: 31.35 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.004539, allocations: 6.156 kB / 453.2 MB, free: 31.35 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.004559, allocations: 40.3 kB / 453.2 MB, free: 31.3 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.004559, allocations: 0 / 453.2 MB, free: 31.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002166/0.004776, allocations: 85.75 kB / 453.3 MB, free: 31.26 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.004802, allocations: 62.16 kB / 453.4 MB, free: 31.19 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.004868, allocations: 162.8 kB / 453.5 MB, free: 31.02 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.004879, allocations: 25.7 kB / 453.5 MB, free: 30.99 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.004911, allocations: 130.9 kB / 453.7 MB, free: 30.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.00495, allocations: 40.27 kB / 453.7 MB, free: 30.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.004998, allocations: 44.17 kB / 453.8 MB, free: 30.79 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.00507, allocations: 0.4904 MB / 454.2 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.005108, allocations: 18.7 kB / 454.3 MB, free: 30.29 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.00517, allocations: 67.61 kB / 454.3 MB, free: 30.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.005272, allocations: 98.14 kB / 454.4 MB, free: 30.14 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005274, allocations: 0 / 454.4 MB, free: 30.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001456/0.005419, allocations: 110.5 kB / 454.5 MB, free: 30.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005432, allocations: 5.562 kB / 454.5 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.005437, allocations: 2.625 kB / 454.5 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.005453, allocations: 3 kB / 454.5 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.00561, allocations: 32.78 kB / 454.6 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.00562, allocations: 12 kB / 454.6 MB, free: 30.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.005669, allocations: 13.81 kB / 454.6 MB, free: 30.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.005677, allocations: 2.75 kB / 454.6 MB, free: 30.07 MB / 410.8 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.005736, allocations: 163 kB / 454.8 MB, free: 29.9 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.005751, allocations: 6.391 kB / 454.8 MB, free: 29.9 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.005789, allocations: 14.69 kB / 454.8 MB, free: 29.89 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.00579, allocations: 3.938 kB / 454.8 MB, free: 29.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.005796, allocations: 7.938 kB / 454.8 MB, free: 29.88 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005799, allocations: 2.625 kB / 454.8 MB, free: 29.88 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.092e-05/0.00588, allocations: 127.2 kB / 454.9 MB, free: 29.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005881, allocations: 4 kB / 454.9 MB, free: 29.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.00605, allocations: 36.56 kB / 455 MB, free: 29.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006052, allocations: 0 / 455 MB, free: 29.72 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.006069, allocations: 5.797 kB / 455 MB, free: 29.72 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.00607, allocations: 0 / 455 MB, free: 29.72 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006071, allocations: 0 / 455 MB, free: 29.72 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.00624, allocations: 138.2 kB / 455.1 MB, free: 29.62 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.006248, allocations: 10.19 kB / 455.1 MB, free: 29.61 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.006265, allocations: 2.5 kB / 455.1 MB, free: 29.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.006302, allocations: 0 / 455.1 MB, free: 29.61 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.006332, allocations: 21.61 kB / 455.1 MB, free: 29.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.006338, allocations: 2.938 kB / 455.1 MB, free: 29.6 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.002e-05/0.006368, allocations: 129 kB / 455.3 MB, free: 29.48 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.006368, allocations: 0 / 455.3 MB, free: 29.48 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002004/0.006568, allocations: 12.97 kB / 455.3 MB, free: 29.48 MB / 410.8 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.041e-05/0.006649, allocations: 101.5 kB / 455.4 MB, free: 29.38 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.006792, allocations: 69.47 kB / 455.4 MB, free: 29.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.006795, allocations: 0 / 455.4 MB, free: 29.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.006832, allocations: 36.41 kB / 455.5 MB, free: 29.34 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.007008, allocations: 10.81 kB / 455.5 MB, free: 29.33 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.00759, allocations: 447 kB / 455.9 MB, free: 28.97 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.00764, allocations: 77.17 kB / 456 MB, free: 28.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.007697, allocations: 27.3 kB / 456 MB, free: 28.89 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.007728, allocations: 11.22 kB / 456 MB, free: 28.89 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.007728, allocations: 0 / 456 MB, free: 28.89 MB / 410.8 MB Notification: Performance of Templates: time 0.003482/0.01121, allocations: 0.6592 MB / 456.7 MB, free: 28.83 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.12176512600854]