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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 120.5 kB / 18.41 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 247 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9194/0.9194, allocations: 119.3 MB / 418.6 MB, free: 12.02 MB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001947/0.001947, allocations: 67.89 kB / 0.5801 GB, free: 12.76 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6013/0.6033, allocations: 80.69 MB / 0.6589 GB, free: 13.52 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001922/0.6052, allocations: 1.213 MB / 0.66 GB, free: 12.54 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000195/0.6054, allocations: 42.81 kB / 0.6601 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.6055, allocations: 1.125 kB / 0.6601 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.952e-05/0.6056, allocations: 0 / 0.6601 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.116e-05/0.6056, allocations: 22.16 kB / 0.6601 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.6058, allocations: 16.38 kB / 0.6601 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.606, allocations: 102.8 kB / 0.6602 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.606, allocations: 10.42 kB / 0.6602 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.6061, allocations: 36.53 kB / 0.6603 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.566e-05/0.6062, allocations: 31.8 kB / 0.6603 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.6062, allocations: 4.938 kB / 0.6603 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.6062, allocations: 9.031 kB / 0.6603 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.6063, allocations: 32.95 kB / 0.6603 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.6064, allocations: 23.55 kB / 0.6604 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.152e-05/0.6065, allocations: 57.06 kB / 0.6604 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6065, allocations: 0 / 0.6604 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6065, allocations: 0 / 0.6604 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.6065, allocations: 0 / 0.6604 GB, free: 12.32 MB / 0.4983 GB 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.000551/0.607, allocations: 405.9 kB / 0.6608 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6071, allocations: 12.92 kB / 0.6608 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.6071, allocations: 7.797 kB / 0.6608 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.6073, allocations: 179.1 kB / 0.661 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6073, allocations: 7.094 kB / 0.661 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.6073, allocations: 18.33 kB / 0.661 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.6075, allocations: 87.19 kB / 0.6611 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6075, allocations: 1.656 kB / 0.6611 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.6075, allocations: 7.938 kB / 0.6611 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6075, allocations: 1.656 kB / 0.6611 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.6076, allocations: 43.34 kB / 0.6612 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.6078, allocations: 213.6 kB / 0.6614 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.6082, allocations: 130.8 kB / 0.6615 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/0.6083, allocations: 49.56 kB / 0.6615 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.6083, allocations: 1.25 kB / 0.6615 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.6083, allocations: 39.8 kB / 0.6616 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.6083, allocations: 0 / 0.6616 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007028/0.609, allocations: 313.5 kB / 0.6619 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.609, allocations: 56.33 kB / 0.6619 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.6091, allocations: 94.45 kB / 0.662 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.6091, allocations: 34.58 kB / 0.662 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.6091, allocations: 81.98 kB / 0.6621 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.6092, allocations: 53.11 kB / 0.6622 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.6092, allocations: 36.47 kB / 0.6622 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.6093, allocations: 325.5 kB / 0.6625 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.6094, allocations: 56.56 kB / 0.6626 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-05/0.6095, allocations: 84.27 kB / 0.6627 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.6097, allocations: 152 kB / 0.6628 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6097, allocations: 0.9375 kB / 0.6628 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004109/0.6101, allocations: 229.1 kB / 0.663 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6101, allocations: 13.45 kB / 0.663 GB, free: 10 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6101, allocations: 4.875 kB / 0.663 GB, free: 10 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.6105, allocations: 61.2 kB / 0.6631 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.6106, allocations: 34.86 kB / 0.6631 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.6118, allocations: 1.584 MB / 0.6647 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.6118, allocations: 14.39 kB / 0.6647 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.6118, allocations: 5.156 kB / 0.6647 GB, free: 8.41 MB / 0.4983 GB 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.914e-05/0.6119, allocations: 133.4 kB / 0.6648 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.6119, allocations: 6.25 kB / 0.6648 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.612, allocations: 13.09 kB / 0.6648 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.612, allocations: 1.188 kB / 0.6648 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.612, allocations: 1.125 kB / 0.6648 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.612, allocations: 0 / 0.6648 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.6121, allocations: 216.2 kB / 0.6651 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6121, allocations: 0 / 0.6651 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.6123, allocations: 30.14 kB / 0.6651 GB, free: 8.027 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.6125, allocations: 60.02 kB / 0.6651 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.6126, allocations: 3.406 kB / 0.6651 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009703/0.6135, allocations: 1.594 MB / 0.6667 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6136, allocations: 0 / 0.6667 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.614, allocations: 261.8 kB / 0.6669 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.614, allocations: 79.39 kB / 0.667 GB, free: 6.195 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.614, allocations: 7.219 kB / 0.667 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.6141, allocations: 1.188 kB / 0.667 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.6141, allocations: 12.58 kB / 0.667 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.6141, allocations: 14.02 kB / 0.6671 GB, free: 6.172 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.042e-05/0.6142, allocations: 78.62 kB / 0.6671 GB, free: 6.098 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6142, allocations: 0 / 0.6671 GB, free: 6.098 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000237/0.6144, allocations: 27.75 kB / 0.6672 GB, free: 6.094 MB / 0.4983 GB 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 9.979e-05/0.6145, allocations: 108 kB / 0.6673 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.615, allocations: 268.7 kB / 0.6675 GB, free: 5.809 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.615, allocations: 1.25 kB / 0.6675 GB, free: 5.809 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.6152, allocations: 187.7 kB / 0.6677 GB, free: 5.664 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.6154, allocations: 12.75 kB / 0.6677 GB, free: 5.656 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.6162, allocations: 0.6909 MB / 0.6684 GB, free: 5.074 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.6163, allocations: 0.7016 MB / 0.6691 GB, free: 4.367 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.6164, allocations: 15.16 kB / 0.6691 GB, free: 4.355 MB / 0.4983 GB Notification: Performance of SimCode: time 2e-07/0.6164, allocations: 0 / 0.6691 GB, free: 4.355 MB / 0.4983 GB Notification: Performance of Templates: time 0.00318/0.6195, allocations: 1.449 MB / 0.6705 GB, free: 3.629 MB / 0.4983 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.823200789978728]