Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.001582/0.001582, allocations: 117 kB / 18.41 MB, free: 4.664 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.001649/0.00165, allocations: 186.9 kB / 21.34 MB, free: 1.738 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.472/1.472, allocations: 222.9 MB / 247 MB, free: 4.328 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.8889/0.8889, allocations: 119.3 MB / 418.5 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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.89 kB / 0.5801 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6345/0.6364, allocations: 80.68 MB / 0.6589 GB, free: 13.5 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001977/0.6384, allocations: 1.199 MB / 0.66 GB, free: 12.54 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001832/0.6386, allocations: 37.61 kB / 0.6601 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.6387, allocations: 0 / 0.6601 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.819e-05/0.6388, allocations: 7.875 kB / 0.6601 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.6389, allocations: 14.33 kB / 0.6601 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.639, allocations: 15.2 kB / 0.6601 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.6392, allocations: 71.89 kB / 0.6602 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.6392, allocations: 1.688 kB / 0.6602 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.6393, allocations: 30.19 kB / 0.6602 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.6393, allocations: 26 kB / 0.6602 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.6394, allocations: 3.219 kB / 0.6602 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.6394, allocations: 3.875 kB / 0.6602 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.6394, allocations: 13.95 kB / 0.6603 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.6395, allocations: 29.22 kB / 0.6603 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.746e-05/0.6396, allocations: 29.16 kB / 0.6603 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6396, allocations: 9.391 kB / 0.6603 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6396, allocations: 0 / 0.6603 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6396, allocations: 4 kB / 0.6603 GB, free: 12.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004524/0.64, allocations: 368 kB / 0.6607 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6401, allocations: 12.92 kB / 0.6607 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.6401, allocations: 8.141 kB / 0.6607 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.6403, allocations: 175.4 kB / 0.6609 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.6403, allocations: 7.406 kB / 0.6609 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.6403, allocations: 13.73 kB / 0.6609 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.6404, allocations: 77.25 kB / 0.661 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6405, allocations: 5.625 kB / 0.661 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.6405, allocations: 3.938 kB / 0.661 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6405, allocations: 1.531 kB / 0.661 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.6406, allocations: 28.62 kB / 0.661 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.6407, allocations: 182.4 kB / 0.6612 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 9.793e-05/0.6408, allocations: 75.41 kB / 0.6612 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.6409, allocations: 31.22 kB / 0.6613 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.6409, allocations: 1.781 kB / 0.6613 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.6409, allocations: 38.5 kB / 0.6613 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.6409, allocations: 0 / 0.6613 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002163/0.6411, allocations: 107.4 kB / 0.6614 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.6412, allocations: 56.89 kB / 0.6615 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.662e-05/0.6412, allocations: 98.88 kB / 0.6616 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.6412, allocations: 33.7 kB / 0.6616 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 1.667e-05/0.6412, allocations: 85.38 kB / 0.6617 GB, free: 11 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.6413, allocations: 44.7 kB / 0.6617 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.6413, allocations: 29.44 kB / 0.6617 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.6414, allocations: 321.3 kB / 0.6621 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.6414, allocations: 36.16 kB / 0.6621 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/0.6415, allocations: 79.67 kB / 0.6622 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.6417, allocations: 120.2 kB / 0.6623 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6417, allocations: 0 / 0.6623 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001966/0.6419, allocations: 145 kB / 0.6624 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.6419, allocations: 9.5 kB / 0.6624 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6419, allocations: 1.844 kB / 0.6624 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6419, allocations: 1.844 kB / 0.6624 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.6421, allocations: 35.58 kB / 0.6625 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6421, allocations: 1.844 kB / 0.6625 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.6422, allocations: 15.58 kB / 0.6625 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.6422, allocations: 3.688 kB / 0.6625 GB, free: 10.34 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.6422, allocations: 122.4 kB / 0.6626 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.6423, allocations: 14.7 kB / 0.6626 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.6423, allocations: 12.88 kB / 0.6626 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6423, allocations: 0.9375 kB / 0.6626 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6423, allocations: 0 / 0.6626 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6423, allocations: 1.094 kB / 0.6626 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.716e-05/0.6424, allocations: 178.3 kB / 0.6628 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6424, allocations: 0 / 0.6628 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.6426, allocations: 35 kB / 0.6628 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6426, allocations: 8.859 kB / 0.6628 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.6426, allocations: 2.781 kB / 0.6628 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.6427, allocations: 0 / 0.6628 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6427, allocations: 4.906 kB / 0.6628 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.6429, allocations: 145.3 kB / 0.663 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.6429, allocations: 90.86 kB / 0.6631 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.6429, allocations: 2.75 kB / 0.6631 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.643, allocations: 1.844 kB / 0.6631 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.643, allocations: 6.766 kB / 0.6631 GB, free: 9.742 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.643, allocations: 1.844 kB / 0.6631 GB, free: 9.742 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.643, allocations: 86.03 kB / 0.6632 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.643, allocations: 0 / 0.6632 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001985/0.6432, allocations: 16.91 kB / 0.6632 GB, free: 9.656 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.378e-05/0.6433, allocations: 104.3 kB / 0.6633 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.6435, allocations: 92.17 kB / 0.6634 GB, free: 9.523 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6435, allocations: 0.9062 kB / 0.6634 GB, free: 9.523 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.6436, allocations: 37.17 kB / 0.6634 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.6438, allocations: 15.02 kB / 0.6634 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.6445, allocations: 0.6392 MB / 0.664 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.6446, allocations: 0.6997 MB / 0.6647 GB, free: 8.23 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.6447, allocations: 12.06 kB / 0.6647 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of SimCode: time 2.5e-07/0.6447, allocations: 0 / 0.6647 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of Templates: time 0.00248/0.6472, allocations: 0.989 MB / 0.6657 GB, free: 7.727 MB / 0.4983 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.600787540897727]