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.001319/0.001319, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001918/0.003237, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00146/0.00146, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.003227, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9534/0.9534, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.057, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.6742/0.6742, allocations: 88.08 MB / 332.1 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04881/0.723, allocations: 32.91 MB / 365 MB, free: 13.44 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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="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="time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 366.2 MB, free: 12.29 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.279e-05, allocations: 2.312 kB / 366.2 MB, free: 12.28 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002809/0.002832, allocations: 1.294 MB / 367.5 MB, free: 10.98 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 9.998e-05/0.002932, allocations: 35.88 kB / 367.5 MB, free: 10.94 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.002956, allocations: 4 kB / 367.5 MB, free: 10.94 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.002986, allocations: 0 / 367.5 MB, free: 10.94 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 4.887e-05/0.003035, allocations: 4 kB / 367.5 MB, free: 10.93 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.003164, allocations: 23.89 kB / 367.5 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003299, allocations: 75.86 kB / 367.6 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.00334, allocations: 4 kB / 367.6 MB, free: 10.83 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.003427, allocations: 31.95 kB / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.003497, allocations: 31.89 kB / 367.7 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.003527, allocations: 4 kB / 367.7 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.00354, allocations: 0 / 367.7 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.003579, allocations: 16 kB / 367.7 MB, free: 10.75 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.003614, allocations: 15.94 kB / 367.7 MB, free: 10.73 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 8.324e-05/0.003698, allocations: 31.84 kB / 367.7 MB, free: 10.7 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.003713, allocations: 0 / 367.7 MB, free: 10.7 MB / 362.8 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003714, allocations: 0 / 367.7 MB, free: 10.7 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.003729, allocations: 4 kB / 367.7 MB, free: 10.7 MB / 362.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.0004352/0.004164, allocations: 265.3 kB / 368 MB, free: 10.41 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.004198, allocations: 15.98 kB / 368 MB, free: 10.4 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.004233, allocations: 4.938 kB / 368 MB, free: 10.39 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.004364, allocations: 117.7 kB / 368.1 MB, free: 10.25 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.004377, allocations: 4.375 kB / 368.1 MB, free: 10.25 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.004405, allocations: 12.38 kB / 368.1 MB, free: 10.24 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.004506, allocations: 54.16 kB / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.004516, allocations: 192 / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004526, allocations: 4.375 kB / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.004533, allocations: 4.375 kB / 368.2 MB, free: 10.17 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.004581, allocations: 19.91 kB / 368.2 MB, free: 10.15 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.004714, allocations: 87.69 kB / 368.3 MB, free: 10.05 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.004807, allocations: 54.55 kB / 368.4 MB, free: 9.988 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.004836, allocations: 16.84 kB / 368.4 MB, free: 9.969 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.004844, allocations: 0 / 368.4 MB, free: 9.969 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.004869, allocations: 34.5 kB / 368.4 MB, free: 9.926 MB / 362.8 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.00487, allocations: 4 kB / 368.4 MB, free: 9.922 MB / 362.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001515/0.005022, allocations: 65.91 kB / 368.5 MB, free: 9.852 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.005058, allocations: 55.41 kB / 368.5 MB, free: 9.785 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.005121, allocations: 106.7 kB / 368.6 MB, free: 9.668 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.005136, allocations: 25.7 kB / 368.7 MB, free: 9.637 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.005165, allocations: 88.14 kB / 368.8 MB, free: 9.547 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.005211, allocations: 35.73 kB / 368.8 MB, free: 9.512 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.005265, allocations: 37.62 kB / 368.8 MB, free: 9.469 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.005357, allocations: 314.8 kB / 369.1 MB, free: 9.152 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.005388, allocations: 15.98 kB / 369.1 MB, free: 9.137 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.005443, allocations: 52.2 kB / 369.2 MB, free: 9.07 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.572e-05/0.005539, allocations: 67.03 kB / 369.3 MB, free: 8.988 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.005541, allocations: 0 / 369.3 MB, free: 8.988 MB / 362.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001331/0.005674, allocations: 89.59 kB / 369.3 MB, free: 8.895 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.005689, allocations: 11.94 kB / 369.4 MB, free: 8.883 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.005695, allocations: 0 / 369.4 MB, free: 8.883 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.005704, allocations: 0 / 369.4 MB, free: 8.883 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.00596, allocations: 43.97 kB / 369.4 MB, free: 8.84 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005965, allocations: 0 / 369.4 MB, free: 8.84 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.006005, allocations: 7.938 kB / 369.4 MB, free: 8.832 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.006017, allocations: 12 kB / 369.4 MB, free: 8.82 MB / 362.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.704e-05/0.006094, allocations: 124.7 kB / 369.5 MB, free: 8.688 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.006108, allocations: 4 kB / 369.5 MB, free: 8.684 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.006145, allocations: 12.11 kB / 369.6 MB, free: 8.676 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006147, allocations: 0 / 369.6 MB, free: 8.676 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006149, allocations: 0 / 369.6 MB, free: 8.676 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.006153, allocations: 3.938 kB / 369.6 MB, free: 8.672 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.544e-05/0.006249, allocations: 89.72 kB / 369.7 MB, free: 8.566 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006251, allocations: 0 / 369.7 MB, free: 8.566 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.006471, allocations: 42.97 kB / 369.7 MB, free: 8.527 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.006485, allocations: 7.984 kB / 369.7 MB, free: 8.52 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006487, allocations: 4 kB / 369.7 MB, free: 8.516 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.006504, allocations: 0 / 369.7 MB, free: 8.516 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006505, allocations: 0 / 369.7 MB, free: 8.516 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.006508, allocations: 4 kB / 369.7 MB, free: 8.512 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.006672, allocations: 116.9 kB / 369.8 MB, free: 8.379 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.006689, allocations: 0 / 369.8 MB, free: 8.379 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.908e-05/0.006718, allocations: 4 kB / 369.8 MB, free: 8.375 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.006737, allocations: 3.984 kB / 369.8 MB, free: 8.371 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.006744, allocations: 4 kB / 369.8 MB, free: 8.367 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.251e-05/0.006756, allocations: 12.8 kB / 369.8 MB, free: 8.352 MB / 362.8 MB Notification: Performance of sort global known variables: time 8e-08/0.006756, allocations: 4 kB / 369.9 MB, free: 8.348 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001834/0.006939, allocations: 12 kB / 369.9 MB, free: 8.336 MB / 362.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.471e-05/0.007034, allocations: 92.39 kB / 370 MB, free: 8.234 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.007144, allocations: 45.33 kB / 370 MB, free: 8.188 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.269e-06/0.007148, allocations: 3.938 kB / 370 MB, free: 8.184 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.007181, allocations: 29 kB / 370 MB, free: 8.152 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.007288, allocations: 12.14 kB / 370 MB, free: 8.141 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.008271, allocations: 243.7 kB / 370.3 MB, free: 7.875 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.008319, allocations: 71.19 kB / 370.4 MB, free: 7.785 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.008357, allocations: 4.734 kB / 370.4 MB, free: 7.777 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.008417, allocations: 55.38 kB / 370.4 MB, free: 7.723 MB / 362.8 MB Notification: Performance of SimCode: time 9.82e-07/0.008418, allocations: 4 kB / 370.4 MB, free: 7.719 MB / 362.8 MB Notification: Performance of Templates: time 0.002751/0.01117, allocations: 0.7513 MB / 371.2 MB, free: 7.016 MB / 362.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 -ignoreHideResult -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.1666741613298655]