Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001466/0.001466, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.00154/0.00154, allocations: 167.1 kB / 24.82 MB, free: 9.273 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 1.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3312/0.3312, allocations: 34.26 MB / 296.1 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.798e-05, allocations: 5.406 kB / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004781/0.004809, allocations: 1.75 MB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.006252, allocations: 0.9975 MB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.006338, allocations: 7.938 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.006649, allocations: 47.7 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.006967, allocations: 99.53 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.007176, allocations: 79.66 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.00735, allocations: 107.6 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.007438, allocations: 15.98 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.007536, allocations: 55.77 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.007608, allocations: 27.91 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.007624, allocations: 4 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/0.007714, allocations: 43.92 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.007763, allocations: 23.92 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.007806, allocations: 31.84 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.007985, allocations: 99.66 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.007988, allocations: 0 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007988, allocations: 0 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.007993, allocations: 0 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004488/0.008441, allocations: 471.7 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.008479, allocations: 11.97 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.008518, allocations: 16.84 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.008669, allocations: 157.2 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.008686, allocations: 4.375 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.008704, allocations: 4.359 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.008809, allocations: 62.94 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.008818, allocations: 3.938 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.008826, allocations: 3.984 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.008831, allocations: 0 / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.008856, allocations: 12 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.009108, allocations: 272.3 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.009195, allocations: 47.17 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.00922, allocations: 11.69 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.009235, allocations: 4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.361e-05/0.009329, allocations: 72.91 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.00933, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003303/0.00966, allocations: 141.4 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.009687, allocations: 55.41 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.009843, allocations: 251 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.009857, allocations: 25.7 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.009927, allocations: 166.8 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.009956, allocations: 23.78 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.009997, allocations: 31.36 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.01015, allocations: 0.5001 MB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.01017, allocations: 8 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.0102, allocations: 35.34 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/0.01026, allocations: 43.38 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01026, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001185/0.01038, allocations: 97.5 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.01039, allocations: 4 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.01039, allocations: 3.938 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01041, allocations: 4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.01047, allocations: 12 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.01048, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.01051, allocations: 11.98 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.01052, allocations: 3.938 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.591e-05/0.01061, allocations: 160.6 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.01063, allocations: 23.84 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.01078, allocations: 99.06 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01079, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01079, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01079, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.01111, allocations: 369.5 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01111, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.01115, allocations: 8 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.01115, allocations: 4 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.01116, allocations: 12.34 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01116, allocations: 0 / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.01116, allocations: 4 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.01134, allocations: 255.4 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.01135, allocations: 15.92 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.01137, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.01143, allocations: 8 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.01145, allocations: 7.984 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.01147, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.01156, allocations: 171.1 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01156, allocations: 4 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.0118, allocations: 31.89 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.001059/0.01286, allocations: 425.7 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01296, allocations: 51.56 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01296, allocations: 0 / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.013, allocations: 31.61 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.01328, allocations: 41.53 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.01366, allocations: 241.6 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.0137, allocations: 71.27 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.954e-05/0.01374, allocations: 12.98 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.01382, allocations: 90.19 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01382, allocations: 0 / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Templates: time 0.004454/0.01828, allocations: 2.052 MB / 388.7 MB, free: 8.016 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2825237158685923]