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.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.001656/0.001656, allocations: 84.23 kB / 21.18 MB, free: 3.383 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.002044/0.002044, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.06/1.06, allocations: 177.1 MB / 205 MB, free: 5.586 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.8066/0.8066, allocations: 88.08 MB / 349.6 MB, free: 14.24 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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 451.6 MB, free: 33.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/3.017e-05, allocations: 3.078 kB / 451.6 MB, free: 33.29 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.00261/0.00264, allocations: 1.24 MB / 452.8 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002507/0.002891, allocations: 38.17 kB / 452.8 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.002941, allocations: 0 / 452.8 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.003071, allocations: 0 / 452.8 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.003175, allocations: 6.188 kB / 452.8 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.00344, allocations: 25.45 kB / 452.9 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.003618, allocations: 76.53 kB / 452.9 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.003677, allocations: 7.188 kB / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.003758, allocations: 31.67 kB / 453 MB, free: 32.37 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.003848, allocations: 25.38 kB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.003887, allocations: 6.641 kB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.003905, allocations: 2.812 kB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.003971, allocations: 22.19 kB / 453 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.004019, allocations: 16.2 kB / 453.1 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.004132, allocations: 33.03 kB / 453.1 MB, free: 32.34 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004135, allocations: 0 / 453.1 MB, free: 32.34 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004136, allocations: 3.938 kB / 453.1 MB, free: 32.34 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.004143, allocations: 0 / 453.1 MB, free: 32.34 MB / 410.8 MB 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.0005681/0.004711, allocations: 400.5 kB / 453.5 MB, free: 31.96 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.403e-05/0.004785, allocations: 10.47 kB / 453.5 MB, free: 31.96 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.004857, allocations: 3.5 kB / 453.5 MB, free: 31.96 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.005053, allocations: 122.6 kB / 453.6 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.005072, allocations: 7.281 kB / 453.6 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.005118, allocations: 10.33 kB / 453.6 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.005283, allocations: 63.48 kB / 453.7 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.005301, allocations: 192 / 453.7 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.005323, allocations: 4.375 kB / 453.7 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.005337, allocations: 3.188 kB / 453.7 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.005406, allocations: 22.14 kB / 453.7 MB, free: 31.76 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.005635, allocations: 132.3 kB / 453.9 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.005787, allocations: 61.77 kB / 453.9 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.005831, allocations: 20.53 kB / 453.9 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.005847, allocations: 6.688 kB / 453.9 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.005878, allocations: 33.39 kB / 454 MB, free: 31.5 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.00588, allocations: 0 / 454 MB, free: 31.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002842/0.006165, allocations: 87.72 kB / 454.1 MB, free: 31.46 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.006208, allocations: 63.34 kB / 454.1 MB, free: 31.39 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.006293, allocations: 155.7 kB / 454.3 MB, free: 31.22 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.006307, allocations: 29.7 kB / 454.3 MB, free: 31.19 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.006341, allocations: 132.9 kB / 454.4 MB, free: 31.06 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.006392, allocations: 38 kB / 454.5 MB, free: 31.03 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.006442, allocations: 42.36 kB / 454.5 MB, free: 30.99 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.006522, allocations: 499 kB / 455 MB, free: 30.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.006559, allocations: 14.7 kB / 455 MB, free: 30.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.00663, allocations: 77.44 kB / 455.1 MB, free: 30.43 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.006746, allocations: 98.95 kB / 455.2 MB, free: 30.34 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.006749, allocations: 2.312 kB / 455.2 MB, free: 30.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001659/0.006914, allocations: 112.1 kB / 455.3 MB, free: 30.28 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.006936, allocations: 9.031 kB / 455.3 MB, free: 30.28 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.006942, allocations: 4 kB / 455.3 MB, free: 30.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.006966, allocations: 2.844 kB / 455.3 MB, free: 30.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.007141, allocations: 29.5 kB / 455.3 MB, free: 30.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.007152, allocations: 11.03 kB / 455.4 MB, free: 30.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.007191, allocations: 10.81 kB / 455.4 MB, free: 30.26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.007202, allocations: 3 kB / 455.4 MB, free: 30.26 MB / 410.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 (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 7.611e-05/0.007278, allocations: 166.7 kB / 455.5 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.007293, allocations: 9.578 kB / 455.5 MB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.007334, allocations: 12.12 kB / 455.5 MB, free: 30.08 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.007337, allocations: 0 / 455.5 MB, free: 30.08 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.007343, allocations: 6.812 kB / 455.6 MB, free: 30.07 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.007347, allocations: 0 / 455.6 MB, free: 30.07 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.417e-05/0.007441, allocations: 124.5 kB / 455.7 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007443, allocations: 4 kB / 455.7 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.007602, allocations: 26.34 kB / 455.7 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007604, allocations: 0 / 455.7 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.007636, allocations: 6.125 kB / 455.7 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.007637, allocations: 0 / 455.7 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.007639, allocations: 3.938 kB / 455.7 MB, free: 29.92 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.007842, allocations: 140.3 kB / 455.9 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.007855, allocations: 14.86 kB / 455.9 MB, free: 29.81 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.007878, allocations: 2.719 kB / 455.9 MB, free: 29.81 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.644e-05/0.007904, allocations: 0 / 455.9 MB, free: 29.81 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.007933, allocations: 14.33 kB / 455.9 MB, free: 29.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.00794, allocations: 2.906 kB / 455.9 MB, free: 29.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.00797, allocations: 126.5 kB / 456 MB, free: 29.68 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.00797, allocations: 0 / 456 MB, free: 29.68 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002142/0.008184, allocations: 14.41 kB / 456 MB, free: 29.68 MB / 410.8 MB 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 9.306e-05/0.008277, allocations: 97.59 kB / 456.1 MB, free: 29.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.008457, allocations: 77.03 kB / 456.2 MB, free: 29.56 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.00846, allocations: 0 / 456.2 MB, free: 29.56 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.0085, allocations: 29.77 kB / 456.2 MB, free: 29.54 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.008718, allocations: 10.78 kB / 456.2 MB, free: 29.54 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.009401, allocations: 447 kB / 456.7 MB, free: 29.17 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.009441, allocations: 70.45 kB / 456.7 MB, free: 29.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.009497, allocations: 22.28 kB / 456.8 MB, free: 29.09 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.009535, allocations: 18.25 kB / 456.8 MB, free: 29.09 MB / 410.8 MB Notification: Performance of SimCode: time 1.282e-06/0.009536, allocations: 0 / 456.8 MB, free: 29.09 MB / 410.8 MB Notification: Performance of Templates: time 0.003207/0.01274, allocations: 0.6872 MB / 457.5 MB, free: 29.02 MB / 410.8 MB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","",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.325706725008786]