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.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.001554/0.001554, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001087/0.001087, allocations: 161 kB / 24.56 MB, free: 16 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 0.9437/0.9437, allocations: 177.1 MB / 205 MB, free: 5.633 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.6636/0.6636, 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.596e-05, allocations: 5.859 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001321/0.001337, allocations: 1.228 MB / 452.8 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000151/0.001488, allocations: 41.41 kB / 452.8 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.001516, allocations: 0 / 452.8 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.759e-05/0.001594, allocations: 3.938 kB / 452.8 MB, free: 32.49 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.001653, allocations: 9.859 kB / 452.8 MB, free: 32.49 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.001802, allocations: 17.48 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.001901, allocations: 76.06 kB / 452.9 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.001938, allocations: 6.844 kB / 452.9 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.001985, allocations: 28.73 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.002039, allocations: 26.16 kB / 453 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.002055, allocations: 6.875 kB / 453 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.002064, allocations: 2.75 kB / 453 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.002102, allocations: 19.94 kB / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.00213, allocations: 20.47 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.002209, allocations: 38.8 kB / 453.1 MB, free: 32.41 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002212, allocations: 0 / 453.1 MB, free: 32.41 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.62e-07/0.002212, allocations: 0 / 453.1 MB, free: 32.41 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.002216, allocations: 0 / 453.1 MB, free: 32.41 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.0003531/0.002569, allocations: 397 kB / 453.5 MB, free: 32.04 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.002606, allocations: 10.69 kB / 453.5 MB, free: 32.04 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.002645, allocations: 13.16 kB / 453.5 MB, free: 32.03 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.002756, allocations: 121.5 kB / 453.6 MB, free: 31.9 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.002767, allocations: 2.719 kB / 453.6 MB, free: 31.9 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.002797, allocations: 14.08 kB / 453.6 MB, free: 31.89 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.002892, allocations: 54.86 kB / 453.7 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.002904, allocations: 3 kB / 453.7 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.002913, allocations: 4.375 kB / 453.7 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.002921, allocations: 384 / 453.7 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.002964, allocations: 35.69 kB / 453.7 MB, free: 31.83 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.003088, allocations: 120.8 kB / 453.8 MB, free: 31.69 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.003176, allocations: 62.53 kB / 453.9 MB, free: 31.64 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.003202, allocations: 23 kB / 453.9 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.00321, allocations: 0 / 453.9 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.003225, allocations: 36.89 kB / 454 MB, free: 31.59 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.003226, allocations: 0 / 454 MB, free: 31.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001545/0.00338, allocations: 90.28 kB / 454.1 MB, free: 31.54 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.0034, allocations: 58.12 kB / 454.1 MB, free: 31.47 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.362e-05/0.003443, allocations: 160.1 kB / 454.3 MB, free: 31.3 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.003451, allocations: 36.64 kB / 454.3 MB, free: 31.26 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.668e-05/0.003467, allocations: 126.9 kB / 454.4 MB, free: 31.13 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.0035, allocations: 40.62 kB / 454.5 MB, free: 31.1 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.003532, allocations: 38.25 kB / 454.5 MB, free: 31.07 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.003575, allocations: 0.4907 MB / 455 MB, free: 30.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.003602, allocations: 18 kB / 455 MB, free: 30.57 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.003646, allocations: 67.56 kB / 455.1 MB, free: 30.51 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.246e-05/0.003718, allocations: 98.62 kB / 455.2 MB, free: 30.42 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.003721, allocations: 0 / 455.2 MB, free: 30.42 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001047/0.003825, allocations: 115.1 kB / 455.3 MB, free: 30.36 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.003836, allocations: 5.875 kB / 455.3 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.003842, allocations: 4 kB / 455.3 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.003857, allocations: 2.969 kB / 455.3 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.003976, allocations: 36.44 kB / 455.3 MB, free: 30.35 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.003984, allocations: 6.75 kB / 455.3 MB, free: 30.35 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.00401, allocations: 10.88 kB / 455.4 MB, free: 30.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.004017, allocations: 13.89 kB / 455.4 MB, free: 30.33 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 4.556e-05/0.004062, allocations: 163.4 kB / 455.5 MB, free: 30.16 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.004072, allocations: 10.08 kB / 455.5 MB, free: 30.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.004099, allocations: 12.12 kB / 455.5 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.0041, allocations: 3 kB / 455.5 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.004105, allocations: 3.938 kB / 455.6 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.004107, allocations: 3.938 kB / 455.6 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.713e-05/0.004164, allocations: 122.7 kB / 455.7 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004165, allocations: 0 / 455.7 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.004267, allocations: 27.45 kB / 455.7 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.004268, allocations: 7.031 kB / 455.7 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.004285, allocations: 3.188 kB / 455.7 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004285, allocations: 2.781 kB / 455.7 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004286, allocations: 0 / 455.7 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.004412, allocations: 138.1 kB / 455.8 MB, free: 29.89 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.004419, allocations: 13.98 kB / 455.9 MB, free: 29.88 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.004431, allocations: 6.688 kB / 455.9 MB, free: 29.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.731e-05/0.004448, allocations: 3.031 kB / 455.9 MB, free: 29.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.004467, allocations: 7.406 kB / 455.9 MB, free: 29.88 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.00447, allocations: 2.875 kB / 455.9 MB, free: 29.88 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.6e-05/0.004486, allocations: 129.5 kB / 456 MB, free: 29.75 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004486, allocations: 0 / 456 MB, free: 29.75 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001282/0.004614, allocations: 18.41 kB / 456 MB, free: 29.75 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 5.566e-05/0.00467, allocations: 97.62 kB / 456.1 MB, free: 29.66 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.004776, allocations: 62.48 kB / 456.2 MB, free: 29.64 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004778, allocations: 0 / 456.2 MB, free: 29.64 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.004802, allocations: 39.38 kB / 456.2 MB, free: 29.62 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.004933, allocations: 7.125 kB / 456.2 MB, free: 29.61 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.005379, allocations: 450.9 kB / 456.7 MB, free: 29.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.444e-05/0.005404, allocations: 67.55 kB / 456.7 MB, free: 29.18 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.00544, allocations: 25.83 kB / 456.8 MB, free: 29.17 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.005466, allocations: 11.44 kB / 456.8 MB, free: 29.16 MB / 410.8 MB Notification: Performance of SimCode: time 4.31e-07/0.005467, allocations: 0 / 456.8 MB, free: 29.16 MB / 410.8 MB Notification: Performance of Templates: time 0.002129/0.007596, allocations: 0.6545 MB / 457.4 MB, free: 29.11 MB / 410.8 MB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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: 3.983865624293685]