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.001254/0.001254, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002066/0.00332, allocations: 449.8 kB / 10.44 MB, free: 252 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.001205/0.001205, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002756, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.965/0.965, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1178/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.7449/0.7449, allocations: 88.08 MB / 332.2 MB, free: 14.17 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05943/0.8044, allocations: 32.93 MB / 365.2 MB, free: 13.39 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 2.365e-06/2.365e-06, allocations: 0 / 366.4 MB, free: 12.22 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.724e-05/3.961e-05, allocations: 5.25 kB / 366.4 MB, free: 12.22 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.003172/0.003212, allocations: 1.295 MB / 367.7 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.003335, allocations: 39.89 kB / 367.7 MB, free: 10.87 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.003366, allocations: 0 / 367.7 MB, free: 10.87 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.516e-05/0.003411, allocations: 3.984 kB / 367.7 MB, free: 10.87 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/0.003468, allocations: 7.938 kB / 367.7 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.003615, allocations: 19.95 kB / 367.7 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.003771, allocations: 67.88 kB / 367.8 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.003817, allocations: 7.984 kB / 367.8 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.847e-05/0.003905, allocations: 39.84 kB / 367.8 MB, free: 10.73 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.00398, allocations: 23.97 kB / 367.9 MB, free: 10.7 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.004008, allocations: 8 kB / 367.9 MB, free: 10.7 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.55e-05/0.004023, allocations: 0 / 367.9 MB, free: 10.7 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.004078, allocations: 19.92 kB / 367.9 MB, free: 10.68 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.004109, allocations: 8 kB / 367.9 MB, free: 10.67 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.004213, allocations: 35.89 kB / 367.9 MB, free: 10.63 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.004228, allocations: 0 / 367.9 MB, free: 10.63 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004229, allocations: 0 / 367.9 MB, free: 10.63 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.004241, allocations: 0 / 367.9 MB, free: 10.63 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.0004844/0.004725, allocations: 265.2 kB / 368.2 MB, free: 10.35 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.004772, allocations: 15.97 kB / 368.2 MB, free: 10.33 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.004815, allocations: 8.938 kB / 368.2 MB, free: 10.32 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.004971, allocations: 125.7 kB / 368.3 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.004986, allocations: 4.375 kB / 368.4 MB, free: 10.17 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.005027, allocations: 8.375 kB / 368.4 MB, free: 10.16 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.005127, allocations: 54.16 kB / 368.4 MB, free: 10.11 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.005138, allocations: 4.188 kB / 368.4 MB, free: 10.1 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.005147, allocations: 384 / 368.4 MB, free: 10.1 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.005154, allocations: 384 / 368.4 MB, free: 10.1 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.945e-05/0.005204, allocations: 31.89 kB / 368.5 MB, free: 10.07 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.005342, allocations: 79.77 kB / 368.5 MB, free: 9.977 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.005444, allocations: 46.62 kB / 368.6 MB, free: 9.922 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.005472, allocations: 12.86 kB / 368.6 MB, free: 9.906 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.005484, allocations: 4 kB / 368.6 MB, free: 9.902 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.005513, allocations: 38.5 kB / 368.6 MB, free: 9.855 MB / 362.8 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.005515, allocations: 0 / 368.6 MB, free: 9.855 MB / 362.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001761/0.005691, allocations: 69.81 kB / 368.7 MB, free: 9.781 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.005729, allocations: 51.41 kB / 368.7 MB, free: 9.719 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.005797, allocations: 102.7 kB / 368.8 MB, free: 9.605 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.005815, allocations: 33.7 kB / 368.9 MB, free: 9.566 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.005849, allocations: 84.14 kB / 369 MB, free: 9.48 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.005902, allocations: 35.73 kB / 369 MB, free: 9.445 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.005953, allocations: 29.64 kB / 369 MB, free: 9.41 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.006059, allocations: 326.8 kB / 369.3 MB, free: 9.082 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381e-05/0.006083, allocations: 8 kB / 369.4 MB, free: 9.074 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.363e-05/0.006137, allocations: 56.2 kB / 369.4 MB, free: 9.004 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.006241, allocations: 75.02 kB / 369.5 MB, free: 8.914 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.006245, allocations: 0 / 369.5 MB, free: 8.914 MB / 362.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001574/0.006402, allocations: 89.48 kB / 369.6 MB, free: 8.82 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.006421, allocations: 4 kB / 369.6 MB, free: 8.816 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.006428, allocations: 0 / 369.6 MB, free: 8.816 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.006448, allocations: 4 kB / 369.6 MB, free: 8.812 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.006745, allocations: 40.47 kB / 369.6 MB, free: 8.773 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.006752, allocations: 4 kB / 369.6 MB, free: 8.77 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.006802, allocations: 15.94 kB / 369.6 MB, free: 8.754 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.006812, allocations: 8.109 kB / 369.6 MB, free: 8.746 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 9.981e-05/0.006912, allocations: 120.6 kB / 369.8 MB, free: 8.617 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.006929, allocations: 4 kB / 369.8 MB, free: 8.613 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.006972, allocations: 12.12 kB / 369.8 MB, free: 8.605 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.006976, allocations: 0 / 369.8 MB, free: 8.605 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.006978, allocations: 4 kB / 369.8 MB, free: 8.602 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.006984, allocations: 3.938 kB / 369.8 MB, free: 8.598 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.007093, allocations: 85.77 kB / 369.9 MB, free: 8.496 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.007096, allocations: 0 / 369.9 MB, free: 8.496 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.007315, allocations: 41.72 kB / 369.9 MB, free: 8.457 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.007332, allocations: 4 kB / 369.9 MB, free: 8.453 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.007335, allocations: 0 / 369.9 MB, free: 8.453 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.007361, allocations: 7.984 kB / 369.9 MB, free: 8.445 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.007363, allocations: 0 / 369.9 MB, free: 8.445 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.007367, allocations: 3.938 kB / 369.9 MB, free: 8.441 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.007569, allocations: 109.5 kB / 370 MB, free: 8.316 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.007594, allocations: 7.984 kB / 370 MB, free: 8.309 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.00763, allocations: 4 kB / 370 MB, free: 8.305 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.007651, allocations: 4 kB / 370 MB, free: 8.301 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.00766, allocations: 7.984 kB / 370.1 MB, free: 8.293 MB / 362.8 MB Notification: Performance of sorting global known variables: time 2.094e-05/0.007681, allocations: 12.8 kB / 370.1 MB, free: 8.277 MB / 362.8 MB Notification: Performance of sort global known variables: time 9e-08/0.007681, allocations: 0 / 370.1 MB, free: 8.277 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.000194/0.007875, allocations: 16 kB / 370.1 MB, free: 8.262 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 0.0001265/0.008001, allocations: 76.42 kB / 370.2 MB, free: 8.176 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.008129, allocations: 71 kB / 370.2 MB, free: 8.105 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.008135, allocations: 0 / 370.2 MB, free: 8.105 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.008173, allocations: 24.8 kB / 370.3 MB, free: 8.078 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.008339, allocations: 74.83 kB / 370.3 MB, free: 7.996 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.009439, allocations: 236.4 kB / 370.6 MB, free: 7.738 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.009484, allocations: 71.2 kB / 370.6 MB, free: 7.648 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.009529, allocations: 4.719 kB / 370.6 MB, free: 7.641 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.009598, allocations: 63.38 kB / 370.7 MB, free: 7.578 MB / 362.8 MB Notification: Performance of SimCode: time 9.11e-07/0.009599, allocations: 0 / 370.7 MB, free: 7.578 MB / 362.8 MB Notification: Performance of Templates: time 0.003479/0.01308, allocations: 0.6675 MB / 371.4 MB, free: 6.957 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2086322708055377]