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/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.0008531/0.0008531, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001924, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006957/0.0006957, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008667/0.001562, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9756/0.9756, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.113/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.8375/0.8375, allocations: 88.08 MB / 332.1 MB, free: 14.2 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06721/0.9047, allocations: 32.92 MB / 365 MB, free: 13.45 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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="time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 366.2 MB, free: 12.29 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.739e-05/3.921e-05, allocations: 2.312 kB / 366.2 MB, free: 12.29 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002091/0.00213, allocations: 1.294 MB / 367.5 MB, free: 10.98 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 9.885e-05/0.002229, allocations: 39.88 kB / 367.5 MB, free: 10.95 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.002256, allocations: 0 / 367.5 MB, free: 10.95 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.002289, allocations: 0 / 367.5 MB, free: 10.95 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 5.336e-05/0.002342, allocations: 7.984 kB / 367.5 MB, free: 10.94 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.002465, allocations: 23.91 kB / 367.5 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.002596, allocations: 71.86 kB / 367.6 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.002638, allocations: 4 kB / 367.6 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.002708, allocations: 35.95 kB / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.002765, allocations: 27.91 kB / 367.7 MB, free: 10.78 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.00279, allocations: 4 kB / 367.7 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.002801, allocations: 0 / 367.7 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.002841, allocations: 8 kB / 367.7 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.002873, allocations: 15.94 kB / 367.7 MB, free: 10.75 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.002952, allocations: 31.84 kB / 367.7 MB, free: 10.72 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.002968, allocations: 4 kB / 367.7 MB, free: 10.71 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.002969, allocations: 0 / 367.7 MB, free: 10.71 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.002981, allocations: 4 kB / 367.7 MB, free: 10.71 MB / 362.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.0004249/0.003406, allocations: 265.3 kB / 368 MB, free: 10.43 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.003441, allocations: 11.98 kB / 368 MB, free: 10.41 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.00347, allocations: 12.92 kB / 368 MB, free: 10.4 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.003575, allocations: 113.8 kB / 368.1 MB, free: 10.27 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.003582, allocations: 4.375 kB / 368.1 MB, free: 10.26 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.003611, allocations: 20.34 kB / 368.1 MB, free: 10.24 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.666e-05/0.003698, allocations: 58.16 kB / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.003706, allocations: 192 / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.003712, allocations: 384 / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.003718, allocations: 4.375 kB / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.044e-05/0.003759, allocations: 15.92 kB / 368.2 MB, free: 10.16 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.003869, allocations: 87.69 kB / 368.3 MB, free: 10.06 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.003941, allocations: 46.64 kB / 368.4 MB, free: 10 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.003962, allocations: 16.84 kB / 368.4 MB, free: 9.984 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.00397, allocations: 4 kB / 368.4 MB, free: 9.98 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.003992, allocations: 38.5 kB / 368.4 MB, free: 9.934 MB / 362.8 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.003993, allocations: 4 kB / 368.4 MB, free: 9.93 MB / 362.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001195/0.004112, allocations: 57.69 kB / 368.5 MB, free: 9.867 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.004144, allocations: 59.39 kB / 368.5 MB, free: 9.797 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.004195, allocations: 102.9 kB / 368.6 MB, free: 9.684 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.004206, allocations: 29.7 kB / 368.7 MB, free: 9.648 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.004228, allocations: 80.14 kB / 368.7 MB, free: 9.566 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.004264, allocations: 35.73 kB / 368.8 MB, free: 9.531 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.00437, allocations: 37.62 kB / 368.8 MB, free: 9.488 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.004447, allocations: 326.8 kB / 369.1 MB, free: 9.16 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.004466, allocations: 16 kB / 369.1 MB, free: 9.145 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.004505, allocations: 52.2 kB / 369.2 MB, free: 9.078 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.004573, allocations: 63.03 kB / 369.3 MB, free: 9 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.004576, allocations: 3.984 kB / 369.3 MB, free: 8.996 MB / 362.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.882e-05/0.004665, allocations: 81.7 kB / 369.3 MB, free: 8.91 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.004679, allocations: 15.97 kB / 369.4 MB, free: 8.895 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.004684, allocations: 0 / 369.4 MB, free: 8.895 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.004695, allocations: 0 / 369.4 MB, free: 8.895 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.004897, allocations: 44.16 kB / 369.4 MB, free: 8.852 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.004901, allocations: 0 / 369.4 MB, free: 8.852 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.004924, allocations: 11.94 kB / 369.4 MB, free: 8.84 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.004931, allocations: 8 kB / 369.4 MB, free: 8.832 MB / 362.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.751e-05/0.004989, allocations: 120.6 kB / 369.5 MB, free: 8.703 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.005, allocations: 11.97 kB / 369.5 MB, free: 8.691 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.005034, allocations: 16.12 kB / 369.6 MB, free: 8.68 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005036, allocations: 0 / 369.6 MB, free: 8.68 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005038, allocations: 0 / 369.6 MB, free: 8.68 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.005041, allocations: 3.938 kB / 369.6 MB, free: 8.676 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.835e-05/0.005109, allocations: 85.72 kB / 369.7 MB, free: 8.574 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.005111, allocations: 0 / 369.7 MB, free: 8.574 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.005257, allocations: 46.95 kB / 369.7 MB, free: 8.531 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.005264, allocations: 4 kB / 369.7 MB, free: 8.527 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.005267, allocations: 0 / 369.7 MB, free: 8.527 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.005281, allocations: 0 / 369.7 MB, free: 8.527 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005282, allocations: 0 / 369.7 MB, free: 8.527 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.005284, allocations: 8 kB / 369.7 MB, free: 8.52 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.005414, allocations: 116.9 kB / 369.8 MB, free: 8.387 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.005425, allocations: 0 / 369.8 MB, free: 8.387 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/0.005444, allocations: 8 kB / 369.8 MB, free: 8.379 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.005458, allocations: 3.984 kB / 369.8 MB, free: 8.375 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.005461, allocations: 0 / 369.8 MB, free: 8.375 MB / 362.8 MB Notification: Performance of sorting global known variables: time 9.117e-06/0.005471, allocations: 12.8 kB / 369.8 MB, free: 8.359 MB / 362.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005471, allocations: 0 / 369.8 MB, free: 8.359 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001017/0.005572, allocations: 16 kB / 369.9 MB, free: 8.344 MB / 362.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 9.783e-05/0.00567, allocations: 88.41 kB / 370 MB, free: 8.246 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.005758, allocations: 53.31 kB / 370 MB, free: 8.191 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.005761, allocations: 3.938 kB / 370 MB, free: 8.188 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.005782, allocations: 28.98 kB / 370 MB, free: 8.156 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.005887, allocations: 12.66 kB / 370 MB, free: 8.145 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.006602, allocations: 235.4 kB / 370.3 MB, free: 7.887 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.006636, allocations: 67.2 kB / 370.3 MB, free: 7.801 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 2.894e-05/0.006665, allocations: 4.734 kB / 370.3 MB, free: 7.793 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.006712, allocations: 55.38 kB / 370.4 MB, free: 7.738 MB / 362.8 MB Notification: Performance of SimCode: time 8.11e-07/0.006712, allocations: 0 / 370.4 MB, free: 7.738 MB / 362.8 MB Notification: Performance of Templates: time 0.002553/0.009266, allocations: 0.7583 MB / 371.2 MB, free: 7.027 MB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1666369969025254]