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.001374/0.001374, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001671/0.001671, allocations: 170.3 kB / 24.91 MB, free: 8.766 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.961/0.961, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.5914/0.5914, allocations: 88.09 MB / 349.9 MB, free: 14.05 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 1.714e-06/1.714e-06, allocations: 0 / 398.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.654e-05, allocations: 3.625 kB / 398.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002728/0.002754, allocations: 1.287 MB / 400.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002119/0.002966, allocations: 40 kB / 400.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.003002, allocations: 0 / 400.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.598e-05/0.003088, allocations: 0 / 400.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.003171, allocations: 15.91 kB / 400.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.003362, allocations: 23.91 kB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.003513, allocations: 75.84 kB / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.003556, allocations: 3.984 kB / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.003626, allocations: 31.97 kB / 400.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.003701, allocations: 27.95 kB / 400.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.003723, allocations: 4 kB / 400.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.003737, allocations: 0 / 400.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.003787, allocations: 23.91 kB / 400.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.003897, allocations: 12 kB / 400.4 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.203e-05/0.00399, allocations: 43.81 kB / 400.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003992, allocations: 0 / 400.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003992, allocations: 0 / 400.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003996, allocations: 0 / 400.4 MB, free: 11.96 MB / 378.7 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.0003719/0.004368, allocations: 261.6 kB / 400.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.004404, allocations: 12.03 kB / 400.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.004435, allocations: 4.938 kB / 400.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.004561, allocations: 113.8 kB / 400.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.004573, allocations: 12.31 kB / 400.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.004599, allocations: 12.38 kB / 400.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.004691, allocations: 50.22 kB / 400.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.004702, allocations: 192 / 400.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.004712, allocations: 8.375 kB / 400.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.004718, allocations: 384 / 400.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.004765, allocations: 19.92 kB / 400.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.004904, allocations: 79.77 kB / 401 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.004993, allocations: 50.56 kB / 401 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.00502, allocations: 12.86 kB / 401 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.005029, allocations: 4 kB / 401 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.005053, allocations: 34.55 kB / 401.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.093e-06/0.005055, allocations: 0 / 401.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001513/0.005206, allocations: 65.92 kB / 401.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.005239, allocations: 55.56 kB / 401.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.005304, allocations: 106.7 kB / 401.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.005318, allocations: 25.7 kB / 401.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.005347, allocations: 88.14 kB / 401.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.005391, allocations: 39.67 kB / 401.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.005438, allocations: 29.69 kB / 401.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.005535, allocations: 326.7 kB / 401.8 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.005564, allocations: 15.92 kB / 401.8 MB, free: 10.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.987e-05/0.005614, allocations: 44.28 kB / 401.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.00572, allocations: 83.08 kB / 401.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005722, allocations: 0 / 401.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001355/0.005857, allocations: 89.53 kB / 402 MB, free: 10.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.005872, allocations: 4 kB / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.005878, allocations: 4 kB / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.005891, allocations: 0 / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.006113, allocations: 39.97 kB / 402.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.00612, allocations: 12.06 kB / 402.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.00616, allocations: 11.89 kB / 402.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.006169, allocations: 4 kB / 402.1 MB, free: 10.09 MB / 378.7 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.392e-05/0.006243, allocations: 116.7 kB / 402.2 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.006257, allocations: 4 kB / 402.2 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.00629, allocations: 12.12 kB / 402.2 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.006294, allocations: 3.984 kB / 402.2 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006295, allocations: 0 / 402.2 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.0063, allocations: 3.938 kB / 402.2 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.067e-05/0.00639, allocations: 77.83 kB / 402.3 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006391, allocations: 4 kB / 402.3 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.006599, allocations: 47.16 kB / 402.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.006602, allocations: 0 / 402.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.006621, allocations: 7.984 kB / 402.4 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006622, allocations: 0 / 402.4 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006623, allocations: 0 / 402.4 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.006774, allocations: 109.2 kB / 402.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.006785, allocations: 11.98 kB / 402.5 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.006802, allocations: 3.984 kB / 402.5 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.454e-05/0.006827, allocations: 4 kB / 402.5 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.006846, allocations: 11.98 kB / 402.5 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006851, allocations: 0 / 402.5 MB, free: 9.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.479e-05/0.006866, allocations: 12.8 kB / 402.5 MB, free: 9.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006866, allocations: 3.938 kB / 402.5 MB, free: 9.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.007049, allocations: 12 kB / 402.5 MB, free: 9.613 MB / 378.7 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.46e-05/0.007144, allocations: 84.36 kB / 402.6 MB, free: 9.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.007261, allocations: 59 kB / 402.7 MB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.007264, allocations: 256 / 402.7 MB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.007296, allocations: 28.86 kB / 402.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.988e-05/0.007396, allocations: 3.984 kB / 402.7 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.007843, allocations: 291.2 kB / 403 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.818e-05/0.007891, allocations: 79.14 kB / 403.1 MB, free: 9.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.007928, allocations: 4.719 kB / 403.1 MB, free: 9.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.007989, allocations: 59.38 kB / 403.1 MB, free: 8.949 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.00799, allocations: 0 / 403.1 MB, free: 8.949 MB / 378.7 MB Notification: Performance of Templates: time 0.002848/0.01084, allocations: 0.7503 MB / 403.9 MB, free: 8.242 MB / 378.7 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 -s gbode -gbm=radauIIA3 -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: 2.971794093027711]