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.001175/0.001175, allocations: 79.75 kB / 20.67 MB, free: 3.883 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.001279/0.001279, allocations: 170.3 kB / 23.95 MB, free: 0.6016 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.9341/0.9341, allocations: 177.1 MB / 204.3 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.6477/0.6477, allocations: 88.06 MB / 348.7 MB, free: 14.37 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 1.573e-06/1.573e-06, allocations: 0 / 0.5235 GB, free: 3.578 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.568e-05, allocations: 6.781 kB / 0.5235 GB, free: 3.57 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001571/0.001597, allocations: 1.224 MB / 0.5247 GB, free: 2.344 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.001785, allocations: 39.88 kB / 0.5247 GB, free: 2.305 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.001817, allocations: 4 kB / 0.5247 GB, free: 2.301 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.406e-05/0.001901, allocations: 3.938 kB / 0.5247 GB, free: 2.297 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.001965, allocations: 7.984 kB / 0.5247 GB, free: 2.289 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.002131, allocations: 32.5 kB / 0.5247 GB, free: 2.258 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.002267, allocations: 99.83 kB / 0.5248 GB, free: 2.16 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.002309, allocations: 0 / 0.5248 GB, free: 2.16 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.00237, allocations: 47.94 kB / 0.5249 GB, free: 2.113 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.002451, allocations: 39.88 kB / 0.5249 GB, free: 2.074 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.002478, allocations: 4 kB / 0.5249 GB, free: 2.07 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.002491, allocations: 4 kB / 0.5249 GB, free: 2.066 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.002543, allocations: 31.95 kB / 0.525 GB, free: 2.035 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.00258, allocations: 27.92 kB / 0.525 GB, free: 2.008 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.002665, allocations: 51.86 kB / 0.525 GB, free: 1.957 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002667, allocations: 0 / 0.525 GB, free: 1.957 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.72e-07/0.002668, allocations: 0 / 0.525 GB, free: 1.957 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.002672, allocations: 0 / 0.525 GB, free: 1.957 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.000462/0.003134, allocations: 330.1 kB / 0.5254 GB, free: 1.602 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.003173, allocations: 12.03 kB / 0.5254 GB, free: 1.59 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.003206, allocations: 4.938 kB / 0.5254 GB, free: 1.586 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.003341, allocations: 129.5 kB / 0.5255 GB, free: 1.434 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.003352, allocations: 12.36 kB / 0.5255 GB, free: 1.422 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.003382, allocations: 12.38 kB / 0.5255 GB, free: 1.41 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.003531, allocations: 82.2 kB / 0.5256 GB, free: 1.324 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.003543, allocations: 192 / 0.5256 GB, free: 1.324 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.003555, allocations: 8.375 kB / 0.5256 GB, free: 1.316 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.003561, allocations: 4.375 kB / 0.5256 GB, free: 1.312 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.003632, allocations: 47.89 kB / 0.5257 GB, free: 1.266 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.003804, allocations: 153.2 kB / 0.5258 GB, free: 1.086 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.004103, allocations: 134.4 kB / 0.5259 GB, free: 0.9453 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.004157, allocations: 40.84 kB / 0.526 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.00417, allocations: 4.328 kB / 0.526 GB, free: 0.8984 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.004189, allocations: 38.55 kB / 0.526 GB, free: 0.8516 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.00419, allocations: 3.938 kB / 0.526 GB, free: 0.8477 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.0004818/0.004672, allocations: 222.3 kB / 0.5262 GB, free: 0.6211 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.004703, allocations: 55.41 kB / 0.5263 GB, free: 0.5547 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.004757, allocations: 101.8 kB / 0.5264 GB, free: 456 kB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.004772, allocations: 29.7 kB / 0.5264 GB, free: 420 kB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.004801, allocations: 84.14 kB / 0.5265 GB, free: 332 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.004844, allocations: 47.59 kB / 0.5265 GB, free: 284 kB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.004885, allocations: 41.7 kB / 0.5266 GB, free: 236 kB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.004979, allocations: 318.8 kB / 0.5269 GB, free: 15.91 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.005038, allocations: 55.92 kB / 0.5269 GB, free: 15.86 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.005117, allocations: 96.12 kB / 0.527 GB, free: 15.75 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.005259, allocations: 144.6 kB / 0.5272 GB, free: 15.59 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005261, allocations: 0 / 0.5272 GB, free: 15.59 MB / 458.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002796/0.00554, allocations: 230.2 kB / 0.5274 GB, free: 15.36 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.005556, allocations: 10.81 kB / 0.5274 GB, free: 15.35 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.005562, allocations: 0 / 0.5274 GB, free: 15.35 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.005765, allocations: 56.8 kB / 0.5274 GB, free: 15.29 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.005842, allocations: 35.92 kB / 0.5275 GB, free: 15.25 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009586/0.0068, allocations: 1.464 MB / 0.5289 GB, free: 13.68 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.006839, allocations: 19.89 kB / 0.5289 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.006847, allocations: 4 kB / 0.5289 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 7.116e-05/0.006918, allocations: 121.8 kB / 0.529 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.006927, allocations: 15.89 kB / 0.5291 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.006947, allocations: 16.12 kB / 0.5291 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.006949, allocations: 4 kB / 0.5291 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.006952, allocations: 0 / 0.5291 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006955, allocations: 3.938 kB / 0.5291 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.007058, allocations: 145.3 kB / 0.5292 GB, free: 13.32 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00706, allocations: 0 / 0.5292 GB, free: 13.32 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.707e-05/0.007157, allocations: 31.92 kB / 0.5292 GB, free: 13.29 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.007301, allocations: 64.73 kB / 0.5293 GB, free: 13.23 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.007314, allocations: 3.984 kB / 0.5293 GB, free: 13.22 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008209/0.008135, allocations: 1.46 MB / 0.5307 GB, free: 11.66 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008136, allocations: 4.062 kB / 0.5307 GB, free: 11.65 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.008416, allocations: 253.7 kB / 0.531 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-06/0.008422, allocations: 7.953 kB / 0.531 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.008434, allocations: 11.92 kB / 0.531 GB, free: 11.36 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.464e-05/0.008459, allocations: 4 kB / 0.531 GB, free: 11.36 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.008482, allocations: 7.984 kB / 0.531 GB, free: 11.35 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.008487, allocations: 0 / 0.531 GB, free: 11.35 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.789e-05/0.008515, allocations: 87.27 kB / 0.5311 GB, free: 11.27 MB / 458.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008515, allocations: 0 / 0.5311 GB, free: 11.27 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001543/0.008669, allocations: 32 kB / 0.5311 GB, free: 11.23 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.435e-05/0.008753, allocations: 95.25 kB / 0.5312 GB, free: 11.13 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.00909, allocations: 254.5 kB / 0.5315 GB, free: 10.87 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.009092, allocations: 0 / 0.5315 GB, free: 10.87 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.009237, allocations: 182.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.0001506/0.009387, allocations: 16.19 kB / 0.5317 GB, free: 10.66 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.009994, allocations: 0.493 MB / 0.5321 GB, free: 10.14 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.526e-05/0.01006, allocations: 87.31 kB / 0.5322 GB, free: 10.04 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.0101, allocations: 24.47 kB / 0.5322 GB, free: 10.01 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.01013, allocations: 16.5 kB / 0.5323 GB, free: 9.996 MB / 458.8 MB Notification: Performance of SimCode: time 6.31e-07/0.01013, allocations: 0 / 0.5323 GB, free: 9.996 MB / 458.8 MB Notification: Performance of Templates: time 0.003053/0.01318, allocations: 1.38 MB / 0.5336 GB, free: 8.664 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: 3.783951341174543]