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.002297/0.002297, allocations: 78.25 kB / 20.68 MB, free: 1.043 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.002713/0.002713, allocations: 165.2 kB / 23.96 MB, free: 4.168 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.543/1.543, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.066/1.066, allocations: 88.07 MB / 348.7 MB, free: 1.816 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.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5235 GB, free: 8.348 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.057e-05, allocations: 7.062 kB / 0.5235 GB, free: 8.34 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001966/0.001996, allocations: 1.22 MB / 0.5247 GB, free: 7.379 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.002209, allocations: 43.02 kB / 0.5247 GB, free: 7.348 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.002248, allocations: 0 / 0.5247 GB, free: 7.348 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 8.967e-05/0.002338, allocations: 9.203 kB / 0.5247 GB, free: 7.34 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.002408, allocations: 14.11 kB / 0.5247 GB, free: 7.328 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.002589, allocations: 24.52 kB / 0.5247 GB, free: 7.309 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.002771, allocations: 103.8 kB / 0.5248 GB, free: 7.258 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.002827, allocations: 9.172 kB / 0.5249 GB, free: 7.25 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.00291, allocations: 43.08 kB / 0.5249 GB, free: 7.23 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.003004, allocations: 44.69 kB / 0.5249 GB, free: 7.199 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.003041, allocations: 4.75 kB / 0.5249 GB, free: 7.199 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.003063, allocations: 5.031 kB / 0.5249 GB, free: 7.199 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.003118, allocations: 26.58 kB / 0.525 GB, free: 7.184 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.003166, allocations: 22.55 kB / 0.525 GB, free: 7.172 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.003266, allocations: 49.14 kB / 0.525 GB, free: 7.145 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003269, allocations: 1.625 kB / 0.525 GB, free: 7.145 MB / 446.2 MB Notification: Performance of FrontEnd: time 7.81e-07/0.00327, allocations: 0 / 0.525 GB, free: 7.145 MB / 446.2 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.003281, allocations: 0 / 0.525 GB, free: 7.145 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005622/0.003844, allocations: 329.2 kB / 0.5254 GB, free: 6.84 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.003887, allocations: 13 kB / 0.5254 GB, free: 6.836 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.003926, allocations: 4.031 kB / 0.5254 GB, free: 6.836 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.004092, allocations: 128.3 kB / 0.5255 GB, free: 6.695 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.004107, allocations: 3.156 kB / 0.5255 GB, free: 6.695 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.00415, allocations: 15.25 kB / 0.5255 GB, free: 6.688 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.004328, allocations: 87.28 kB / 0.5256 GB, free: 6.625 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.004345, allocations: 6 kB / 0.5256 GB, free: 6.621 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.00436, allocations: 4.375 kB / 0.5256 GB, free: 6.617 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.004367, allocations: 2.094 kB / 0.5256 GB, free: 6.617 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.004458, allocations: 43.53 kB / 0.5256 GB, free: 6.598 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.00467, allocations: 150.1 kB / 0.5258 GB, free: 6.449 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.005076, allocations: 128.8 kB / 0.5259 GB, free: 6.383 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.005161, allocations: 52.06 kB / 0.526 GB, free: 6.352 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.005175, allocations: 5.75 kB / 0.526 GB, free: 6.348 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.005193, allocations: 40.44 kB / 0.526 GB, free: 6.301 MB / 446.2 MB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/0.005195, allocations: 0 / 0.526 GB, free: 6.301 MB / 446.2 MB Notification: Performance of matching and sorting (n=12): time 0.0007688/0.005963, allocations: 223.1 kB / 0.5262 GB, free: 6.18 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.005988, allocations: 53.25 kB / 0.5263 GB, free: 6.117 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/0.006038, allocations: 98.48 kB / 0.5264 GB, free: 6.016 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.006056, allocations: 30.61 kB / 0.5264 GB, free: 5.98 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.006078, allocations: 89.05 kB / 0.5265 GB, free: 5.891 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.006122, allocations: 57.97 kB / 0.5265 GB, free: 5.84 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.006179, allocations: 36.5 kB / 0.5266 GB, free: 5.812 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.006224, allocations: 325.5 kB / 0.5269 GB, free: 5.488 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.006313, allocations: 52.5 kB / 0.5269 GB, free: 5.465 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.00642, allocations: 92.16 kB / 0.527 GB, free: 5.395 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.006625, allocations: 144.4 kB / 0.5272 GB, free: 5.305 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.006628, allocations: 0 / 0.5272 GB, free: 5.305 MB / 446.2 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004379/0.007066, allocations: 232.7 kB / 0.5274 GB, free: 5.172 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.007085, allocations: 5.531 kB / 0.5274 GB, free: 5.172 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.007091, allocations: 0.9375 kB / 0.5274 GB, free: 5.172 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/0.007433, allocations: 62.11 kB / 0.5274 GB, free: 5.141 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.007564, allocations: 34.67 kB / 0.5275 GB, free: 5.133 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.008789, allocations: 1.459 MB / 0.5289 GB, free: 3.762 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.00886, allocations: 15.52 kB / 0.5289 GB, free: 3.75 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.008873, allocations: 9.656 kB / 0.5289 GB, free: 3.746 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 (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 7.616e-05/0.008949, allocations: 120 kB / 0.529 GB, free: 3.625 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.008968, allocations: 9.922 kB / 0.529 GB, free: 3.617 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.009004, allocations: 17.19 kB / 0.5291 GB, free: 3.605 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009006, allocations: 1.75 kB / 0.5291 GB, free: 3.605 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.009012, allocations: 1.094 kB / 0.5291 GB, free: 3.605 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.009015, allocations: 0 / 0.5291 GB, free: 3.605 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.009145, allocations: 154.3 kB / 0.5292 GB, free: 3.453 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009146, allocations: 0 / 0.5292 GB, free: 3.453 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.009316, allocations: 29.73 kB / 0.5292 GB, free: 3.445 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.009579, allocations: 64.98 kB / 0.5293 GB, free: 3.41 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.009596, allocations: 2.406 kB / 0.5293 GB, free: 3.41 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.01062, allocations: 1.459 MB / 0.5307 GB, free: 2.039 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01062, allocations: 7.922 kB / 0.5307 GB, free: 2.031 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.01106, allocations: 257.1 kB / 0.531 GB, free: 1.871 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-06/0.01107, allocations: 6.484 kB / 0.531 GB, free: 1.867 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.01108, allocations: 6.438 kB / 0.531 GB, free: 1.863 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.546e-05/0.01114, allocations: 9.281 kB / 0.531 GB, free: 1.855 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.01118, allocations: 11.75 kB / 0.531 GB, free: 1.848 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.01119, allocations: 6.594 kB / 0.531 GB, free: 1.844 MB / 446.2 MB Notification: Performance of sorting global known variables: time 2.377e-05/0.01121, allocations: 81.81 kB / 0.5311 GB, free: 1.766 MB / 446.2 MB Notification: Performance of sort global known variables: time 8e-08/0.01121, allocations: 0 / 0.5311 GB, free: 1.766 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0002492/0.01146, allocations: 28.78 kB / 0.5311 GB, free: 1.762 MB / 446.2 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 0.0001123/0.01157, allocations: 94.72 kB / 0.5312 GB, free: 1.676 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.0004899/0.01206, allocations: 251.6 kB / 0.5315 GB, free: 1.504 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01207, allocations: 5.5 kB / 0.5315 GB, free: 1.5 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.01232, allocations: 190.3 kB / 0.5316 GB, free: 1.352 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.01251, allocations: 11.12 kB / 0.5317 GB, free: 1.344 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.01319, allocations: 495.7 kB / 0.5321 GB, free: 0.9453 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.01325, allocations: 86.06 kB / 0.5322 GB, free: 0.8633 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.01332, allocations: 28.88 kB / 0.5322 GB, free: 0.8477 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.01335, allocations: 16.27 kB / 0.5323 GB, free: 0.8359 MB / 446.2 MB Notification: Performance of SimCode: time 3.9e-07/0.01335, allocations: 0 / 0.5323 GB, free: 0.8359 MB / 446.2 MB Notification: Performance of Templates: time 0.004368/0.01772, allocations: 1.374 MB / 0.5336 GB, free: 88 kB / 446.2 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.166036985814571]