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.0007288/0.0007288, 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.003403/0.003403, allocations: 161.6 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.8792/0.8792, allocations: 177.2 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.555/0.555, 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.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 2.454e-06/2.454e-06, allocations: 4 kB / 0.5242 GB, free: 3.586 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.357e-05, allocations: 2.281 kB / 0.5242 GB, free: 3.582 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001468/0.001492, allocations: 1.229 MB / 0.5254 GB, free: 2.348 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.001661, allocations: 39.88 kB / 0.5254 GB, free: 2.309 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.001692, allocations: 0 / 0.5254 GB, free: 2.309 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.975e-05/0.001771, allocations: 0 / 0.5254 GB, free: 2.309 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.001831, allocations: 11.92 kB / 0.5255 GB, free: 2.297 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.001985, allocations: 28.5 kB / 0.5255 GB, free: 2.27 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.002113, allocations: 103.8 kB / 0.5256 GB, free: 2.168 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.002152, allocations: 0 / 0.5256 GB, free: 2.168 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.002213, allocations: 55.88 kB / 0.5256 GB, free: 2.113 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.002285, allocations: 35.88 kB / 0.5257 GB, free: 2.078 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.002308, allocations: 4 kB / 0.5257 GB, free: 2.074 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.002321, allocations: 4 kB / 0.5257 GB, free: 2.07 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.002368, allocations: 31.95 kB / 0.5257 GB, free: 2.039 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.002403, allocations: 27.92 kB / 0.5257 GB, free: 2.012 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.845e-05/0.002481, allocations: 47.86 kB / 0.5258 GB, free: 1.965 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002482, allocations: 0 / 0.5258 GB, free: 1.965 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002483, allocations: 0 / 0.5258 GB, free: 1.965 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.002487, allocations: 0 / 0.5258 GB, free: 1.965 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.0003903/0.002878, allocations: 334.1 kB / 0.5261 GB, free: 1.605 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.002911, allocations: 8.031 kB / 0.5261 GB, free: 1.598 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.00294, allocations: 8.922 kB / 0.5261 GB, free: 1.59 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.003057, allocations: 125.7 kB / 0.5262 GB, free: 1.441 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.003067, allocations: 12.38 kB / 0.5262 GB, free: 1.43 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.003095, allocations: 12.31 kB / 0.5263 GB, free: 1.418 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.003221, allocations: 82.2 kB / 0.5263 GB, free: 1.332 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.003235, allocations: 4.188 kB / 0.5263 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.003245, allocations: 384 / 0.5263 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003249, allocations: 384 / 0.5263 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-05/0.003314, allocations: 51.89 kB / 0.5264 GB, free: 1.277 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.00347, allocations: 157.2 kB / 0.5265 GB, free: 1.094 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.003727, allocations: 126.6 kB / 0.5267 GB, free: 0.9609 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.00378, allocations: 52.94 kB / 0.5267 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.003792, allocations: 4 kB / 0.5267 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.003809, allocations: 38.55 kB / 0.5267 GB, free: 0.8555 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 8.32e-07/0.00381, allocations: 0 / 0.5267 GB, free: 0.8555 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.0004323/0.004242, allocations: 226.2 kB / 0.527 GB, free: 0.625 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.004268, allocations: 51.41 kB / 0.527 GB, free: 0.5625 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.519e-05/0.004313, allocations: 105.8 kB / 0.5271 GB, free: 460 kB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.004325, allocations: 25.7 kB / 0.5271 GB, free: 428 kB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.004348, allocations: 88.14 kB / 0.5272 GB, free: 336 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.004387, allocations: 55.53 kB / 0.5273 GB, free: 280 kB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.004423, allocations: 33.7 kB / 0.5273 GB, free: 240 kB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.004505, allocations: 322.8 kB / 0.5276 GB, free: 15.91 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.004558, allocations: 51.92 kB / 0.5277 GB, free: 15.86 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.004628, allocations: 88.25 kB / 0.5278 GB, free: 15.76 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.00476, allocations: 144.2 kB / 0.5279 GB, free: 15.6 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004762, allocations: 4 kB / 0.5279 GB, free: 15.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002441/0.005007, allocations: 230.1 kB / 0.5281 GB, free: 15.36 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.005019, allocations: 4 kB / 0.5281 GB, free: 15.36 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.005025, allocations: 4 kB / 0.5281 GB, free: 15.36 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.00521, allocations: 72.78 kB / 0.5282 GB, free: 15.28 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.005277, allocations: 24 kB / 0.5282 GB, free: 15.26 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008571/0.006134, allocations: 1.464 MB / 0.5296 GB, free: 13.69 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.006169, allocations: 11.98 kB / 0.5297 GB, free: 13.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.006177, allocations: 12 kB / 0.5297 GB, free: 13.66 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.601e-05/0.006243, allocations: 125.8 kB / 0.5298 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.006253, allocations: 11.89 kB / 0.5298 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.006271, allocations: 16.12 kB / 0.5298 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.006272, allocations: 0 / 0.5298 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.006275, allocations: 4 kB / 0.5298 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.006277, allocations: 0 / 0.5298 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.178e-05/0.006369, allocations: 141.3 kB / 0.5299 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00637, allocations: 0 / 0.5299 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.006458, allocations: 31.98 kB / 0.53 GB, free: 13.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.00658, allocations: 60.73 kB / 0.53 GB, free: 13.24 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.006592, allocations: 7.984 kB / 0.53 GB, free: 13.23 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007364/0.007328, allocations: 1.464 MB / 0.5315 GB, free: 11.66 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007329, allocations: 0 / 0.5315 GB, free: 11.66 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.007578, allocations: 253.7 kB / 0.5317 GB, free: 11.39 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-06/0.007582, allocations: 3.953 kB / 0.5317 GB, free: 11.39 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.007594, allocations: 11.92 kB / 0.5317 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.007615, allocations: 4 kB / 0.5317 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.007633, allocations: 12.05 kB / 0.5317 GB, free: 11.36 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.007638, allocations: 4 kB / 0.5318 GB, free: 11.36 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.328e-05/0.007662, allocations: 87.2 kB / 0.5318 GB, free: 11.27 MB / 458.8 MB Notification: Performance of sort global known variables: time 4e-08/0.007662, allocations: 0 / 0.5318 GB, free: 11.27 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001483/0.00781, allocations: 32 kB / 0.5319 GB, free: 11.24 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 7.255e-05/0.007883, allocations: 99.25 kB / 0.532 GB, free: 11.14 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.008189, allocations: 247.4 kB / 0.5322 GB, free: 10.88 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.008191, allocations: 8 kB / 0.5322 GB, free: 10.88 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.008321, allocations: 186.6 kB / 0.5324 GB, free: 10.68 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.008449, allocations: 8.438 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.0005023/0.008951, allocations: 0.5219 MB / 0.5329 GB, free: 10.12 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.256e-05/0.009004, allocations: 91.31 kB / 0.533 GB, free: 10.01 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.009029, allocations: 12.5 kB / 0.533 GB, free: 9.992 MB / 458.8 MB Notification: Performance of SimCode: time 5.11e-07/0.009029, allocations: 0 / 0.533 GB, free: 9.992 MB / 458.8 MB Notification: Performance of Templates: time 0.002079/0.01111, allocations: 1.545 MB / 0.5345 GB, free: 8.457 MB / 458.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=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: 5.102529215626419]