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.0009104/0.0009104, allocations: 83.69 kB / 21.43 MB, free: 3.133 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.004911/0.004911, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 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 0.8565/0.8565, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.579/0.579, allocations: 88.07 MB / 349.5 MB, free: 14.36 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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.5242 GB, free: 3.582 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.277e-05, allocations: 3.828 kB / 0.5242 GB, free: 3.578 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001449/0.001472, allocations: 1.207 MB / 0.5254 GB, free: 2.363 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.001628, allocations: 31.89 kB / 0.5254 GB, free: 2.332 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.001657, allocations: 0 / 0.5254 GB, free: 2.332 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.151e-05/0.001739, allocations: 11.92 kB / 0.5254 GB, free: 2.32 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.001793, allocations: 3.984 kB / 0.5254 GB, free: 2.316 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.001945, allocations: 16.59 kB / 0.5254 GB, free: 2.301 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.002059, allocations: 79.78 kB / 0.5255 GB, free: 2.223 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.002098, allocations: 7.922 kB / 0.5255 GB, free: 2.215 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.002148, allocations: 31.97 kB / 0.5256 GB, free: 2.184 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.002203, allocations: 23.97 kB / 0.5256 GB, free: 2.16 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.002226, allocations: 4 kB / 0.5256 GB, free: 2.156 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.002236, allocations: 4 kB / 0.5256 GB, free: 2.152 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.002276, allocations: 23.91 kB / 0.5256 GB, free: 2.129 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.002306, allocations: 19.98 kB / 0.5256 GB, free: 2.109 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.178e-05/0.002378, allocations: 35.88 kB / 0.5257 GB, free: 2.074 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002379, allocations: 4 kB / 0.5257 GB, free: 2.07 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.21e-07/0.00238, allocations: 0 / 0.5257 GB, free: 2.07 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.002384, allocations: 0 / 0.5257 GB, free: 2.07 MB / 442.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.0003544/0.002738, allocations: 298.2 kB / 0.526 GB, free: 1.746 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.002773, allocations: 8.031 kB / 0.526 GB, free: 1.738 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.002802, allocations: 4.938 kB / 0.526 GB, free: 1.734 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.002915, allocations: 125.6 kB / 0.5261 GB, free: 1.586 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.002924, allocations: 8.375 kB / 0.5261 GB, free: 1.578 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.002949, allocations: 12.31 kB / 0.5261 GB, free: 1.566 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.003059, allocations: 70.22 kB / 0.5262 GB, free: 1.492 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.003071, allocations: 192 / 0.5262 GB, free: 1.492 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.003082, allocations: 8.375 kB / 0.5262 GB, free: 1.484 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.003087, allocations: 384 / 0.5262 GB, free: 1.484 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/0.00314, allocations: 31.91 kB / 0.5262 GB, free: 1.453 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.003273, allocations: 137.3 kB / 0.5263 GB, free: 1.289 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.003366, allocations: 70.48 kB / 0.5264 GB, free: 1.211 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.003401, allocations: 28.84 kB / 0.5264 GB, free: 1.18 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.003412, allocations: 4 kB / 0.5264 GB, free: 1.176 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.00343, allocations: 34.56 kB / 0.5265 GB, free: 1.133 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.00343, allocations: 0 / 0.5265 GB, free: 1.133 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001781/0.003608, allocations: 105.6 kB / 0.5266 GB, free: 1.023 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.003646, allocations: 59.34 kB / 0.5266 GB, free: 0.9531 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.003702, allocations: 105.8 kB / 0.5267 GB, free: 0.8398 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.003715, allocations: 33.64 kB / 0.5268 GB, free: 0.8008 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.003741, allocations: 84.14 kB / 0.5268 GB, free: 0.7148 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.003777, allocations: 35.69 kB / 0.5269 GB, free: 0.6797 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.003812, allocations: 37.7 kB / 0.5269 GB, free: 0.6367 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.003884, allocations: 314.8 kB / 0.5272 GB, free: 328 kB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.003924, allocations: 39.97 kB / 0.5273 GB, free: 288 kB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.00398, allocations: 71.36 kB / 0.5273 GB, free: 204 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.004083, allocations: 124.7 kB / 0.5274 GB, free: 64 kB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.004085, allocations: 0 / 0.5274 GB, free: 64 kB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001444/0.004229, allocations: 153.5 kB / 0.5276 GB, free: 15.91 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.004239, allocations: 7.938 kB / 0.5276 GB, free: 15.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.004245, allocations: 4 kB / 0.5276 GB, free: 15.89 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.004255, allocations: 0 / 0.5276 GB, free: 15.89 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.004361, allocations: 31.98 kB / 0.5276 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.004367, allocations: 3.938 kB / 0.5276 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.004394, allocations: 20 kB / 0.5276 GB, free: 15.84 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.0044, allocations: 4 kB / 0.5277 GB, free: 15.84 MB / 458.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.779e-05/0.004458, allocations: 125.8 kB / 0.5278 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-06/0.004464, allocations: 3.953 kB / 0.5278 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.004487, allocations: 12.12 kB / 0.5278 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00449, allocations: 4 kB / 0.5278 GB, free: 15.68 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.004495, allocations: 3.938 kB / 0.5278 GB, free: 15.68 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004497, allocations: 0 / 0.5278 GB, free: 15.68 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.091e-05/0.004568, allocations: 121.3 kB / 0.5279 GB, free: 15.53 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004569, allocations: 0 / 0.5279 GB, free: 15.53 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.004677, allocations: 35.98 kB / 0.5279 GB, free: 15.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.004678, allocations: 4 kB / 0.5279 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.004687, allocations: 0 / 0.5279 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.00469, allocations: 7.938 kB / 0.528 GB, free: 15.48 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.004691, allocations: 0 / 0.528 GB, free: 15.48 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.004843, allocations: 145 kB / 0.5281 GB, free: 15.32 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.004851, allocations: 11.94 kB / 0.5281 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.004863, allocations: 0 / 0.5281 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.004882, allocations: 8 kB / 0.5281 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.004898, allocations: 7.922 kB / 0.5281 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.004902, allocations: 4 kB / 0.5281 GB, free: 15.29 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.327e-05/0.004925, allocations: 83.45 kB / 0.5282 GB, free: 15.21 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004925, allocations: 0 / 0.5282 GB, free: 15.21 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001261/0.005051, allocations: 20 kB / 0.5282 GB, free: 15.19 MB / 458.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 6.699e-05/0.005118, allocations: 103.2 kB / 0.5283 GB, free: 15.08 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.005234, allocations: 79.89 kB / 0.5284 GB, free: 15 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005235, allocations: 0 / 0.5284 GB, free: 15 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.005265, allocations: 31.98 kB / 0.5284 GB, free: 14.97 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.005389, allocations: 8.859 kB / 0.5284 GB, free: 14.96 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.005878, allocations: 490 kB / 0.5289 GB, free: 14.45 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.731e-05/0.005925, allocations: 79.56 kB / 0.529 GB, free: 14.36 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.005954, allocations: 16.5 kB / 0.529 GB, free: 14.34 MB / 458.8 MB Notification: Performance of SimCode: time 9.71e-07/0.005955, allocations: 7.875 kB / 0.529 GB, free: 14.33 MB / 458.8 MB Notification: Performance of Templates: time 0.001542/0.007497, allocations: 1.078 MB / 0.5301 GB, free: 13.26 MB / 458.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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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: 4.938880283385515]