Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.001226/0.001226, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.002984, 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.001094/0.001094, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002482, 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 1.069/1.069, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1145/1.183, 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.765/0.765, allocations: 88.07 MB / 332.2 MB, free: 14.14 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05503/0.82, allocations: 32.94 MB / 365.2 MB, free: 13.38 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.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.13e-05, allocations: 3.625 kB / 366.4 MB, free: 12.2 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001693/0.001714, allocations: 1.302 MB / 367.7 MB, free: 10.89 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 8.724e-05/0.001801, allocations: 47.86 kB / 367.7 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.001824, allocations: 0 / 367.7 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.001855, allocations: 3.938 kB / 367.7 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.0019, allocations: 11.92 kB / 367.7 MB, free: 10.83 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.00201, allocations: 23.95 kB / 367.8 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.002137, allocations: 115.8 kB / 367.9 MB, free: 10.69 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.00218, allocations: 7.938 kB / 367.9 MB, free: 10.68 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.002254, allocations: 43.95 kB / 367.9 MB, free: 10.64 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.002319, allocations: 31.94 kB / 367.9 MB, free: 10.61 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.00234, allocations: 4 kB / 368 MB, free: 10.61 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.002354, allocations: 4 kB / 368 MB, free: 10.6 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.002396, allocations: 23.92 kB / 368 MB, free: 10.58 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.002426, allocations: 19.94 kB / 368 MB, free: 10.56 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 7.512e-05/0.002501, allocations: 39.89 kB / 368 MB, free: 10.52 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.002512, allocations: 4 kB / 368 MB, free: 10.52 MB / 362.8 MB Notification: Performance of FrontEnd: time 8.22e-07/0.002512, allocations: 0 / 368 MB, free: 10.52 MB / 362.8 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.00252, allocations: 0 / 368 MB, free: 10.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003688/0.002888, allocations: 309.1 kB / 368.3 MB, free: 10.19 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.002918, allocations: 11.97 kB / 368.4 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.002946, allocations: 4.938 kB / 368.4 MB, free: 10.17 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.003057, allocations: 121.7 kB / 368.5 MB, free: 10.03 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003067, allocations: 12.31 kB / 368.5 MB, free: 10.02 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.003095, allocations: 8.375 kB / 368.5 MB, free: 10.01 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.643e-05/0.003182, allocations: 62.86 kB / 368.6 MB, free: 9.941 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.00319, allocations: 4.172 kB / 368.6 MB, free: 9.938 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.003199, allocations: 4.375 kB / 368.6 MB, free: 9.934 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.003204, allocations: 384 / 368.6 MB, free: 9.934 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.003238, allocations: 24.95 kB / 368.6 MB, free: 9.91 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.003354, allocations: 95.83 kB / 368.7 MB, free: 9.801 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.003545, allocations: 82.53 kB / 368.8 MB, free: 9.711 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.003571, allocations: 20.86 kB / 368.8 MB, free: 9.688 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.00358, allocations: 4 kB / 368.8 MB, free: 9.684 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.003596, allocations: 34.88 kB / 368.8 MB, free: 9.641 MB / 362.8 MB Notification: Performance of pre-optimization done (n=12): time 8.21e-07/0.003597, allocations: 4 kB / 368.8 MB, free: 9.637 MB / 362.8 MB Notification: Performance of matching and sorting (n=12): time 0.0003007/0.003897, allocations: 141.7 kB / 369 MB, free: 9.488 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.003922, allocations: 55.41 kB / 369 MB, free: 9.422 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.572e-05/0.003968, allocations: 110.7 kB / 369.1 MB, free: 9.301 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.003981, allocations: 29.7 kB / 369.2 MB, free: 9.266 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.964e-05/0.004001, allocations: 80.14 kB / 369.2 MB, free: 9.184 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.004044, allocations: 51.58 kB / 369.3 MB, free: 9.133 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.004089, allocations: 37.69 kB / 369.3 MB, free: 9.09 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.004163, allocations: 318.8 kB / 369.6 MB, free: 8.77 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.004184, allocations: 19.98 kB / 369.7 MB, free: 8.75 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.004225, allocations: 48.27 kB / 369.7 MB, free: 8.688 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.004306, allocations: 92.38 kB / 369.8 MB, free: 8.582 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.004308, allocations: 0 / 369.8 MB, free: 8.582 MB / 362.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000175/0.004483, allocations: 135.4 kB / 369.9 MB, free: 8.441 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.004498, allocations: 8.109 kB / 369.9 MB, free: 8.434 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.004502, allocations: 4 kB / 369.9 MB, free: 8.43 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.004684, allocations: 55.62 kB / 370 MB, free: 8.371 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.004805, allocations: 47.91 kB / 370 MB, free: 8.324 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007655/0.00557, allocations: 1.273 MB / 371.3 MB, free: 6.953 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.005607, allocations: 11.95 kB / 371.3 MB, free: 6.941 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.005613, allocations: 4 kB / 371.3 MB, free: 6.938 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.005674, allocations: 128.6 kB / 371.5 MB, free: 6.801 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.005686, allocations: 12 kB / 371.5 MB, free: 6.789 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.005709, allocations: 20.05 kB / 371.5 MB, free: 6.766 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005711, allocations: 336 / 371.5 MB, free: 6.766 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.005715, allocations: 4 kB / 371.5 MB, free: 6.762 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005718, allocations: 0 / 371.5 MB, free: 6.762 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.633e-05/0.005794, allocations: 85.91 kB / 371.6 MB, free: 6.66 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.005797, allocations: 3.984 kB / 371.6 MB, free: 6.656 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.005921, allocations: 42.55 kB / 371.6 MB, free: 6.617 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.005927, allocations: 7.938 kB / 371.6 MB, free: 6.609 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.006052, allocations: 51.62 kB / 371.7 MB, free: 6.555 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.006065, allocations: 7.938 kB / 371.7 MB, free: 6.547 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000678/0.006743, allocations: 1.272 MB / 373 MB, free: 5.18 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006745, allocations: 0 / 373 MB, free: 5.18 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.00693, allocations: 178.2 kB / 373.1 MB, free: 4.98 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.006943, allocations: 7.984 kB / 373.1 MB, free: 4.973 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.006966, allocations: 4 kB / 373.1 MB, free: 4.969 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.00699, allocations: 15.95 kB / 373.2 MB, free: 4.953 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.006994, allocations: 0 / 373.2 MB, free: 4.953 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.221e-05/0.007007, allocations: 16.97 kB / 373.2 MB, free: 4.934 MB / 362.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007007, allocations: 0 / 373.2 MB, free: 4.934 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001363/0.007143, allocations: 32 kB / 373.2 MB, free: 4.902 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.714e-05/0.00723, allocations: 84.36 kB / 373.3 MB, free: 4.812 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.007486, allocations: 215.3 kB / 373.5 MB, free: 4.586 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.00749, allocations: 0 / 373.5 MB, free: 4.586 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.007614, allocations: 176 kB / 373.7 MB, free: 4.398 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.007735, allocations: 71.98 kB / 373.7 MB, free: 4.316 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.008421, allocations: 253.2 kB / 374 MB, free: 4.043 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.008459, allocations: 75.83 kB / 374.1 MB, free: 3.949 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 2.613e-05/0.008485, allocations: 8.484 kB / 374.1 MB, free: 3.938 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.008531, allocations: 63.31 kB / 374.1 MB, free: 3.875 MB / 362.8 MB Notification: Performance of SimCode: time 6.02e-07/0.008531, allocations: 0 / 374.1 MB, free: 3.875 MB / 362.8 MB Notification: Performance of Templates: time 0.002969/0.0115, allocations: 1.505 MB / 375.6 MB, free: 2.441 MB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_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.3056387212127447]