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.001687/0.001687, allocations: 80.61 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002201/0.002201, allocations: 167.9 kB / 23.96 MB, free: 4.141 MB / 14.72 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.559/1.559, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.083/1.083, allocations: 88.06 MB / 348.7 MB, free: 1.789 MB / 318.1 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 2.004e-06/2.004e-06, allocations: 0 / 0.5235 GB, free: 8.336 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.658e-05, allocations: 10.16 kB / 0.5235 GB, free: 8.324 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002162/0.002198, allocations: 1.212 MB / 0.5246 GB, free: 7.367 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0002283/0.002427, allocations: 33.61 kB / 0.5247 GB, free: 7.344 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.002465, allocations: 0 / 0.5247 GB, free: 7.344 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 9.666e-05/0.002561, allocations: 3.938 kB / 0.5247 GB, free: 7.34 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.002629, allocations: 10.14 kB / 0.5247 GB, free: 7.332 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.002807, allocations: 24.17 kB / 0.5247 GB, free: 7.312 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.002958, allocations: 71.08 kB / 0.5248 GB, free: 7.277 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.003014, allocations: 1.656 kB / 0.5248 GB, free: 7.277 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.003084, allocations: 39.77 kB / 0.5248 GB, free: 7.254 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.003164, allocations: 27.77 kB / 0.5248 GB, free: 7.238 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.003199, allocations: 3.594 kB / 0.5248 GB, free: 7.238 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.003215, allocations: 1.656 kB / 0.5249 GB, free: 7.238 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.003269, allocations: 18.73 kB / 0.5249 GB, free: 7.227 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.003309, allocations: 25 kB / 0.5249 GB, free: 7.211 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.003417, allocations: 32.08 kB / 0.5249 GB, free: 7.195 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.003421, allocations: 0 / 0.5249 GB, free: 7.195 MB / 446.2 MB Notification: Performance of FrontEnd: time 1.824e-06/0.003423, allocations: 0 / 0.5249 GB, free: 7.195 MB / 446.2 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.003437, allocations: 0 / 0.5249 GB, free: 7.195 MB / 446.2 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.0005697/0.004007, allocations: 300.6 kB / 0.5252 GB, free: 6.902 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.004061, allocations: 13.83 kB / 0.5252 GB, free: 6.898 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.004111, allocations: 3.719 kB / 0.5252 GB, free: 6.898 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.004293, allocations: 118.2 kB / 0.5253 GB, free: 6.766 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.00431, allocations: 6.797 kB / 0.5253 GB, free: 6.762 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.004358, allocations: 13.77 kB / 0.5254 GB, free: 6.754 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.004573, allocations: 68.84 kB / 0.5254 GB, free: 6.699 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.004591, allocations: 1.281 kB / 0.5254 GB, free: 6.699 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.004606, allocations: 5.594 kB / 0.5254 GB, free: 6.695 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.004614, allocations: 1.625 kB / 0.5254 GB, free: 6.695 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.004716, allocations: 35.75 kB / 0.5255 GB, free: 6.676 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.004951, allocations: 121.8 kB / 0.5256 GB, free: 6.543 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.005114, allocations: 73.05 kB / 0.5257 GB, free: 6.492 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.005174, allocations: 31.19 kB / 0.5257 GB, free: 6.473 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.005189, allocations: 1.812 kB / 0.5257 GB, free: 6.473 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.005223, allocations: 44.27 kB / 0.5257 GB, free: 6.422 MB / 446.2 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.005224, allocations: 0 / 0.5257 GB, free: 6.422 MB / 446.2 MB Notification: Performance of matching and sorting (n=8): time 0.0003509/0.005575, allocations: 115.5 kB / 0.5258 GB, free: 6.352 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.005619, allocations: 60.25 kB / 0.5259 GB, free: 6.281 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.005744, allocations: 102.5 kB / 0.526 GB, free: 6.176 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.005778, allocations: 26.61 kB / 0.526 GB, free: 6.145 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.005832, allocations: 81.98 kB / 0.5261 GB, free: 6.062 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/0.005915, allocations: 39.41 kB / 0.5261 GB, free: 6.027 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.006007, allocations: 30.62 kB / 0.5262 GB, free: 6.004 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.006112, allocations: 320.7 kB / 0.5265 GB, free: 5.684 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.006199, allocations: 37.47 kB / 0.5265 GB, free: 5.668 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.006319, allocations: 76.75 kB / 0.5266 GB, free: 5.605 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.00653, allocations: 126.1 kB / 0.5267 GB, free: 5.516 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.006534, allocations: 0.9375 kB / 0.5267 GB, free: 5.516 MB / 446.2 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002855/0.00682, allocations: 136.9 kB / 0.5268 GB, free: 5.441 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.00685, allocations: 9.516 kB / 0.5268 GB, free: 5.438 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.006858, allocations: 0.9375 kB / 0.5268 GB, free: 5.438 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.006889, allocations: 2.75 kB / 0.5268 GB, free: 5.438 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.007121, allocations: 38.67 kB / 0.5269 GB, free: 5.426 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.007135, allocations: 6.844 kB / 0.5269 GB, free: 5.422 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.007193, allocations: 10.69 kB / 0.5269 GB, free: 5.414 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.007208, allocations: 8.75 kB / 0.5269 GB, free: 5.41 MB / 446.2 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 0.0001027/0.007311, allocations: 122.4 kB / 0.527 GB, free: 5.285 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.007328, allocations: 6.734 kB / 0.527 GB, free: 5.281 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.00738, allocations: 17.02 kB / 0.527 GB, free: 5.266 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.007384, allocations: 0.9375 kB / 0.527 GB, free: 5.266 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.007393, allocations: 3.938 kB / 0.527 GB, free: 5.262 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.007398, allocations: 0.9375 kB / 0.527 GB, free: 5.262 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.00754, allocations: 129 kB / 0.5272 GB, free: 5.121 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007541, allocations: 4 kB / 0.5272 GB, free: 5.117 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.007756, allocations: 30.98 kB / 0.5272 GB, free: 5.109 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007758, allocations: 0 / 0.5272 GB, free: 5.109 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.007781, allocations: 6.766 kB / 0.5272 GB, free: 5.105 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.007782, allocations: 0.9062 kB / 0.5272 GB, free: 5.105 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.007786, allocations: 0.9062 kB / 0.5272 GB, free: 5.105 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.008106, allocations: 150.1 kB / 0.5274 GB, free: 4.996 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.008125, allocations: 13.73 kB / 0.5274 GB, free: 4.984 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.008155, allocations: 7.672 kB / 0.5274 GB, free: 4.98 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.008198, allocations: 0.9062 kB / 0.5274 GB, free: 4.98 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.008231, allocations: 10.7 kB / 0.5274 GB, free: 4.973 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.008239, allocations: 5.844 kB / 0.5274 GB, free: 4.969 MB / 446.2 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.008277, allocations: 82.06 kB / 0.5275 GB, free: 4.891 MB / 446.2 MB Notification: Performance of sort global known variables: time 9e-08/0.008277, allocations: 0 / 0.5275 GB, free: 4.891 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0002889/0.008566, allocations: 13.81 kB / 0.5275 GB, free: 4.891 MB / 446.2 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.0001678/0.008734, allocations: 102 kB / 0.5276 GB, free: 4.797 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.00902, allocations: 81.7 kB / 0.5277 GB, free: 4.766 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.009024, allocations: 0 / 0.5277 GB, free: 4.766 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.009097, allocations: 32.2 kB / 0.5277 GB, free: 4.754 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.009376, allocations: 14.08 kB / 0.5277 GB, free: 4.746 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.01018, allocations: 461.3 kB / 0.5281 GB, free: 4.359 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.602e-05/0.01024, allocations: 76.17 kB / 0.5282 GB, free: 4.281 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 7.5e-05/0.01032, allocations: 33.28 kB / 0.5282 GB, free: 4.262 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.01036, allocations: 12.19 kB / 0.5283 GB, free: 4.25 MB / 446.2 MB Notification: Performance of SimCode: time 4e-07/0.01036, allocations: 0 / 0.5283 GB, free: 4.25 MB / 446.2 MB Notification: Performance of Templates: time 0.003716/0.01407, allocations: 0.6497 MB / 0.5289 GB, free: 3.957 MB / 446.2 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: 6.055513087660074]