Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001317/0.001317, allocations: 117.5 kB / 17.74 MB, free: 5.312 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.001324/0.001324, allocations: 186.9 kB / 20.68 MB, free: 2.383 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.494/1.494, allocations: 222.9 MB / 246.4 MB, free: 4.199 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.9183/0.9183, allocations: 119.3 MB / 417.9 MB, free: 12.12 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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.91 kB / 0.5794 GB, free: 12.74 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5861/0.588, allocations: 80.69 MB / 0.6582 GB, free: 13.52 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002371/0.5904, allocations: 1.208 MB / 0.6594 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000185/0.5906, allocations: 33.62 kB / 0.6594 GB, free: 12.53 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.5907, allocations: 3.938 kB / 0.6594 GB, free: 12.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.115e-05/0.5908, allocations: 9.281 kB / 0.6594 GB, free: 12.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.5909, allocations: 9.297 kB / 0.6594 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.591, allocations: 15.39 kB / 0.6594 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.5912, allocations: 70.86 kB / 0.6595 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.5912, allocations: 2.188 kB / 0.6595 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.5913, allocations: 21.48 kB / 0.6595 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.5914, allocations: 31.95 kB / 0.6596 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.5914, allocations: 2.812 kB / 0.6596 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.671e-05/0.5914, allocations: 2.875 kB / 0.6596 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.5915, allocations: 13.55 kB / 0.6596 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.5915, allocations: 25.02 kB / 0.6596 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.942e-05/0.5916, allocations: 42.28 kB / 0.6597 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5916, allocations: 1.062 kB / 0.6597 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5916, allocations: 3.938 kB / 0.6597 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5916, allocations: 0 / 0.6597 GB, free: 12.38 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.0004725/0.5921, allocations: 367.9 kB / 0.66 GB, free: 12 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5922, allocations: 16.86 kB / 0.66 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.5922, allocations: 8.984 kB / 0.66 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.5923, allocations: 178.5 kB / 0.6602 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.5923, allocations: 3.656 kB / 0.6602 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.5924, allocations: 11.09 kB / 0.6602 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.5925, allocations: 67.5 kB / 0.6603 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5925, allocations: 6 kB / 0.6603 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.5925, allocations: 3.938 kB / 0.6603 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5925, allocations: 1.969 kB / 0.6603 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.5926, allocations: 32.52 kB / 0.6603 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.5928, allocations: 191.2 kB / 0.6605 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.5929, allocations: 73.94 kB / 0.6606 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.5929, allocations: 30.97 kB / 0.6606 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.593, allocations: 5.219 kB / 0.6606 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.593, allocations: 32.06 kB / 0.6606 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.593, allocations: 0 / 0.6606 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002297/0.5932, allocations: 111.8 kB / 0.6607 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.5933, allocations: 56.78 kB / 0.6608 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.5933, allocations: 97.75 kB / 0.6609 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5933, allocations: 30.95 kB / 0.6609 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 1.661e-05/0.5934, allocations: 81.2 kB / 0.661 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.5934, allocations: 47.19 kB / 0.661 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.5934, allocations: 34.61 kB / 0.6611 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.5935, allocations: 317.4 kB / 0.6614 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.5936, allocations: 40.5 kB / 0.6614 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.5936, allocations: 74.42 kB / 0.6615 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5938, allocations: 124.9 kB / 0.6616 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5938, allocations: 0 / 0.6616 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002249/0.594, allocations: 140.9 kB / 0.6617 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.594, allocations: 13.44 kB / 0.6618 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5941, allocations: 1.844 kB / 0.6618 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5941, allocations: 1.844 kB / 0.6618 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.5943, allocations: 31.64 kB / 0.6618 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5943, allocations: 1.844 kB / 0.6618 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.5943, allocations: 19.7 kB / 0.6618 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.5943, allocations: 8.078 kB / 0.6618 GB, free: 10.35 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.874e-05/0.5944, allocations: 122.4 kB / 0.6619 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.5944, allocations: 10.67 kB / 0.6619 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.5945, allocations: 12.88 kB / 0.662 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5945, allocations: 0.9375 kB / 0.662 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5945, allocations: 0 / 0.662 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5945, allocations: 0.9062 kB / 0.662 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.5946, allocations: 178.2 kB / 0.6621 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5946, allocations: 0 / 0.6621 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.5948, allocations: 31.05 kB / 0.6622 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.5948, allocations: 4.875 kB / 0.6622 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.5948, allocations: 2.75 kB / 0.6622 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5948, allocations: 0 / 0.6622 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5948, allocations: 0.9375 kB / 0.6622 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.595, allocations: 153.2 kB / 0.6623 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.5951, allocations: 90.86 kB / 0.6624 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.5951, allocations: 2.75 kB / 0.6624 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.5951, allocations: 5.844 kB / 0.6624 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.5952, allocations: 6.766 kB / 0.6624 GB, free: 9.758 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.5952, allocations: 5.844 kB / 0.6624 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.5952, allocations: 78.03 kB / 0.6625 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.5952, allocations: 0 / 0.6625 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002134/0.5954, allocations: 16.91 kB / 0.6625 GB, free: 9.676 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 8.436e-05/0.5955, allocations: 104.3 kB / 0.6626 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.5957, allocations: 87.55 kB / 0.6627 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5957, allocations: 4.844 kB / 0.6627 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.239e-05/0.5958, allocations: 37.17 kB / 0.6627 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.596, allocations: 17.62 kB / 0.6628 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/0.5968, allocations: 0.6208 MB / 0.6634 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.5969, allocations: 0.7 MB / 0.664 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.597, allocations: 29.22 kB / 0.6641 GB, free: 8.254 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.597, allocations: 11.12 kB / 0.6641 GB, free: 8.246 MB / 0.4983 GB Notification: Performance of SimCode: time 4.31e-07/0.597, allocations: 0 / 0.6641 GB, free: 8.246 MB / 0.4983 GB Notification: Performance of Templates: time 0.003212/0.6002, allocations: 0.6644 MB / 0.6647 GB, free: 7.945 MB / 0.4983 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 6.029153952142224]