Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.000897/0.000897, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003869/0.003869, allocations: 160 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.8456/0.8456, allocations: 177.1 MB / 205 MB, free: 5.73 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.6093/0.6093, allocations: 88.06 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.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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.5242 GB, free: 3.586 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.439e-05, allocations: 5.656 kB / 0.5242 GB, free: 3.582 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001749/0.001784, allocations: 1.215 MB / 0.5254 GB, free: 2.359 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.001971, allocations: 39.88 kB / 0.5254 GB, free: 2.32 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.002005, allocations: 4 kB / 0.5254 GB, free: 2.316 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.002091, allocations: 7.922 kB / 0.5254 GB, free: 2.309 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.002152, allocations: 3.984 kB / 0.5254 GB, free: 2.305 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.002321, allocations: 28.58 kB / 0.5255 GB, free: 2.277 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.002458, allocations: 103.8 kB / 0.5256 GB, free: 2.176 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.002503, allocations: 7.984 kB / 0.5256 GB, free: 2.168 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.002566, allocations: 47.89 kB / 0.5256 GB, free: 2.121 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.002639, allocations: 35.88 kB / 0.5257 GB, free: 2.086 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.002669, allocations: 4 kB / 0.5257 GB, free: 2.082 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.002681, allocations: 8 kB / 0.5257 GB, free: 2.074 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.002733, allocations: 27.97 kB / 0.5257 GB, free: 2.047 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.00277, allocations: 27.91 kB / 0.5257 GB, free: 2.02 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.623e-05/0.002857, allocations: 51.86 kB / 0.5258 GB, free: 1.969 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.002859, allocations: 0 / 0.5258 GB, free: 1.969 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.372e-06/0.00286, allocations: 0 / 0.5258 GB, free: 1.969 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.002865, allocations: 0 / 0.5258 GB, free: 1.969 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004162/0.003281, allocations: 330.2 kB / 0.5261 GB, free: 1.613 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.003315, allocations: 11.97 kB / 0.5261 GB, free: 1.602 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.003345, allocations: 4.938 kB / 0.5261 GB, free: 1.598 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.003468, allocations: 125.7 kB / 0.5262 GB, free: 1.449 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.00348, allocations: 8.375 kB / 0.5262 GB, free: 1.441 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.00351, allocations: 12.31 kB / 0.5262 GB, free: 1.43 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.003643, allocations: 90.12 kB / 0.5263 GB, free: 1.336 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.003656, allocations: 12.17 kB / 0.5263 GB, free: 1.324 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.003666, allocations: 4.375 kB / 0.5263 GB, free: 1.32 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.003671, allocations: 384 / 0.5263 GB, free: 1.32 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.003737, allocations: 47.84 kB / 0.5264 GB, free: 1.273 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.003908, allocations: 153.2 kB / 0.5265 GB, free: 1.094 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.004178, allocations: 126.5 kB / 0.5267 GB, free: 0.9609 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.004232, allocations: 48.83 kB / 0.5267 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.004244, allocations: 0 / 0.5267 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.004262, allocations: 38.56 kB / 0.5267 GB, free: 0.8633 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.004263, allocations: 336 / 0.5267 GB, free: 0.8633 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.0004768/0.00474, allocations: 230.2 kB / 0.527 GB, free: 0.6289 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.004781, allocations: 51.41 kB / 0.527 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.004842, allocations: 97.86 kB / 0.5271 GB, free: 472 kB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.004854, allocations: 33.7 kB / 0.5271 GB, free: 432 kB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.004879, allocations: 84.12 kB / 0.5272 GB, free: 344 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.004922, allocations: 51.59 kB / 0.5273 GB, free: 292 kB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.004959, allocations: 37.72 kB / 0.5273 GB, free: 248 kB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.24e-05/0.005041, allocations: 318.8 kB / 0.5276 GB, free: 15.92 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.005098, allocations: 59.84 kB / 0.5277 GB, free: 15.86 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.005178, allocations: 88.25 kB / 0.5277 GB, free: 15.76 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.005324, allocations: 152.1 kB / 0.5279 GB, free: 15.6 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005326, allocations: 0 / 0.5279 GB, free: 15.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004209/0.005747, allocations: 230.2 kB / 0.5281 GB, free: 15.36 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.005763, allocations: 5.25 kB / 0.5281 GB, free: 15.36 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.00577, allocations: 0 / 0.5281 GB, free: 15.36 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.005962, allocations: 64.73 kB / 0.5282 GB, free: 15.29 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.006032, allocations: 35.98 kB / 0.5282 GB, free: 15.26 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/0.006931, allocations: 1.46 MB / 0.5296 GB, free: 13.69 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.006964, allocations: 15.92 kB / 0.5297 GB, free: 13.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.006971, allocations: 4 kB / 0.5297 GB, free: 13.67 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 (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.737e-05/0.007038, allocations: 125.9 kB / 0.5298 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.007047, allocations: 11.89 kB / 0.5298 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.007065, allocations: 16.12 kB / 0.5298 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-07/0.007066, allocations: 3.938 kB / 0.5298 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.007068, allocations: 0 / 0.5298 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007071, allocations: 4 kB / 0.5298 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.13e-05/0.007162, allocations: 145.3 kB / 0.53 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007163, allocations: 0 / 0.53 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.007254, allocations: 27.92 kB / 0.53 GB, free: 13.31 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.007385, allocations: 64.73 kB / 0.53 GB, free: 13.24 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.007396, allocations: 4 kB / 0.53 GB, free: 13.24 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007374/0.008134, allocations: 1.46 MB / 0.5315 GB, free: 11.67 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.008134, allocations: 0 / 0.5315 GB, free: 11.67 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.008394, allocations: 262.3 kB / 0.5317 GB, free: 11.39 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.0084, allocations: 7.938 kB / 0.5317 GB, free: 11.39 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.00841, allocations: 7.938 kB / 0.5317 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.008433, allocations: 4 kB / 0.5317 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.008454, allocations: 11.97 kB / 0.5317 GB, free: 11.36 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.008459, allocations: 4 kB / 0.5318 GB, free: 11.36 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.365e-05/0.008482, allocations: 83.28 kB / 0.5318 GB, free: 11.28 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008482, allocations: 4.062 kB / 0.5318 GB, free: 11.27 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001453/0.008628, allocations: 28 kB / 0.5319 GB, free: 11.25 MB / 458.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.539e-05/0.008713, allocations: 99.36 kB / 0.532 GB, free: 11.14 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.009025, allocations: 258.4 kB / 0.5322 GB, free: 10.88 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009026, allocations: 0 / 0.5322 GB, free: 10.88 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.009158, allocations: 178.9 kB / 0.5324 GB, free: 10.69 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.009288, allocations: 15.98 kB / 0.5324 GB, free: 10.67 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.00981, allocations: 0.518 MB / 0.5329 GB, free: 10.12 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.00986, allocations: 87.31 kB / 0.533 GB, free: 10.02 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.009886, allocations: 12.5 kB / 0.533 GB, free: 10 MB / 458.8 MB Notification: Performance of SimCode: time 5e-07/0.009887, allocations: 0 / 0.533 GB, free: 10 MB / 458.8 MB Notification: Performance of Templates: time 0.002142/0.01203, allocations: 1.551 MB / 0.5345 GB, free: 8.457 MB / 458.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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: 5.265938219614327]