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.001194/0.001194, allocations: 75.75 kB / 20.67 MB, free: 3.895 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.001393/0.001393, allocations: 170.8 kB / 23.95 MB, free: 0.6133 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.9676/0.9676, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.7292/0.7292, allocations: 88.06 MB / 348.7 MB, free: 14.39 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.124e-06/2.124e-06, allocations: 0 / 0.5235 GB, free: 3.59 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.361e-05, allocations: 5.375 kB / 0.5235 GB, free: 3.586 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001862/0.001896, allocations: 1.225 MB / 0.5247 GB, free: 2.355 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.002096, allocations: 39.88 kB / 0.5247 GB, free: 2.316 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.002134, allocations: 0 / 0.5247 GB, free: 2.316 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.96e-05/0.002224, allocations: 4 kB / 0.5247 GB, free: 2.312 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.002293, allocations: 11.97 kB / 0.5247 GB, free: 2.301 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.002478, allocations: 36.39 kB / 0.5248 GB, free: 2.266 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.002622, allocations: 103.8 kB / 0.5249 GB, free: 2.164 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.002668, allocations: 0 / 0.5249 GB, free: 2.164 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.002735, allocations: 51.94 kB / 0.5249 GB, free: 2.113 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.002815, allocations: 35.88 kB / 0.5249 GB, free: 2.078 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.00284, allocations: 4 kB / 0.5249 GB, free: 2.074 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.002854, allocations: 8 kB / 0.5249 GB, free: 2.066 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.002904, allocations: 19.97 kB / 0.525 GB, free: 2.047 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.002944, allocations: 35.91 kB / 0.525 GB, free: 2.012 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 9.635e-05/0.003041, allocations: 43.86 kB / 0.525 GB, free: 1.969 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.003044, allocations: 0 / 0.525 GB, free: 1.969 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.914e-06/0.003045, allocations: 4 kB / 0.525 GB, free: 1.965 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.00305, allocations: 4 kB / 0.5251 GB, free: 1.961 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.0005122/0.003562, allocations: 326.2 kB / 0.5254 GB, free: 1.609 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.003606, allocations: 12.03 kB / 0.5254 GB, free: 1.598 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.003641, allocations: 4.938 kB / 0.5254 GB, free: 1.594 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.003806, allocations: 129.6 kB / 0.5255 GB, free: 1.441 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.003816, allocations: 4.375 kB / 0.5255 GB, free: 1.438 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.003847, allocations: 12.31 kB / 0.5255 GB, free: 1.426 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.004002, allocations: 94.2 kB / 0.5256 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.004013, allocations: 192 / 0.5256 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.004024, allocations: 384 / 0.5256 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.00403, allocations: 384 / 0.5256 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.004105, allocations: 51.88 kB / 0.5257 GB, free: 1.277 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.00429, allocations: 153.2 kB / 0.5258 GB, free: 1.098 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.004588, allocations: 130.5 kB / 0.5259 GB, free: 0.9609 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.004646, allocations: 48.78 kB / 0.526 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.004659, allocations: 4.328 kB / 0.526 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.004677, allocations: 30.56 kB / 0.526 GB, free: 0.8672 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.004679, allocations: 3.938 kB / 0.526 GB, free: 0.8633 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.0005753/0.005254, allocations: 226.2 kB / 0.5262 GB, free: 0.6328 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.005298, allocations: 63.41 kB / 0.5263 GB, free: 0.5586 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.005358, allocations: 97.84 kB / 0.5264 GB, free: 464 kB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.005372, allocations: 29.7 kB / 0.5264 GB, free: 428 kB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.005398, allocations: 80.14 kB / 0.5265 GB, free: 344 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.005444, allocations: 55.58 kB / 0.5265 GB, free: 288 kB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.005488, allocations: 37.7 kB / 0.5266 GB, free: 244 kB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.005589, allocations: 322.8 kB / 0.5269 GB, free: 15.91 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.005647, allocations: 51.92 kB / 0.5269 GB, free: 15.86 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.005726, allocations: 88.19 kB / 0.527 GB, free: 15.76 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.005868, allocations: 152.2 kB / 0.5272 GB, free: 15.6 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.005871, allocations: 0 / 0.5272 GB, free: 15.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002846/0.006156, allocations: 226.1 kB / 0.5274 GB, free: 15.37 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.006172, allocations: 4 kB / 0.5274 GB, free: 15.36 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.006179, allocations: 4.125 kB / 0.5274 GB, free: 15.36 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.006398, allocations: 60.8 kB / 0.5274 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.00648, allocations: 35.98 kB / 0.5275 GB, free: 15.26 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.007526, allocations: 1.452 MB / 0.5289 GB, free: 13.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.007567, allocations: 19.92 kB / 0.5289 GB, free: 13.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.007578, allocations: 8 kB / 0.5289 GB, free: 13.68 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 9.096e-05/0.007669, allocations: 121.7 kB / 0.529 GB, free: 13.55 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.007685, allocations: 23.86 kB / 0.5291 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.007706, allocations: 12.12 kB / 0.5291 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007708, allocations: 4 kB / 0.5291 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.007712, allocations: 0 / 0.5291 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007716, allocations: 8 kB / 0.5291 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.007829, allocations: 141.3 kB / 0.5292 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007831, allocations: 0 / 0.5292 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.007936, allocations: 27.98 kB / 0.5292 GB, free: 13.31 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.008087, allocations: 56.73 kB / 0.5293 GB, free: 13.25 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.008103, allocations: 11.98 kB / 0.5293 GB, free: 13.24 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008774/0.008981, allocations: 1.456 MB / 0.5307 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008982, allocations: 0 / 0.5307 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.00927, allocations: 257.6 kB / 0.531 GB, free: 11.4 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-06/0.009276, allocations: 12.02 kB / 0.531 GB, free: 11.39 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.009289, allocations: 11.92 kB / 0.531 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.722e-05/0.009316, allocations: 4 kB / 0.531 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.009341, allocations: 7.984 kB / 0.531 GB, free: 11.37 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.009348, allocations: 8.078 kB / 0.531 GB, free: 11.36 MB / 458.8 MB Notification: Performance of sorting global known variables: time 3.516e-05/0.009383, allocations: 87.25 kB / 0.5311 GB, free: 11.27 MB / 458.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009383, allocations: 0 / 0.5311 GB, free: 11.27 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001641/0.009547, allocations: 28 kB / 0.5311 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 0.0001155/0.009663, allocations: 107.2 kB / 0.5312 GB, free: 11.13 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.01002, allocations: 247.2 kB / 0.5315 GB, free: 10.88 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01003, allocations: 0 / 0.5315 GB, free: 10.88 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.01017, allocations: 186.6 kB / 0.5316 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.0001561/0.01032, allocations: 11.94 kB / 0.5317 GB, free: 10.67 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.01089, allocations: 0.4936 MB / 0.5321 GB, free: 10.15 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.708e-05/0.01096, allocations: 91.3 kB / 0.5322 GB, free: 10.04 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 4.163e-05/0.011, allocations: 20.47 kB / 0.5322 GB, free: 10.02 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.01103, allocations: 16.5 kB / 0.5323 GB, free: 10 MB / 458.8 MB Notification: Performance of SimCode: time 9.62e-07/0.01103, allocations: 0 / 0.5323 GB, free: 10 MB / 458.8 MB Notification: Performance of Templates: time 0.003235/0.01426, allocations: 1.37 MB / 0.5336 GB, free: 8.684 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: 4.058691773563623]