Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001147/0.001147, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001256/0.001256, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9377/0.9377, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.144/0.144, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 348.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.233e-05, allocations: 2.312 kB / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002077/0.002099, allocations: 1.806 MB / 350 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.003145, allocations: 0.8505 MB / 350.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.003229, allocations: 11.94 kB / 350.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.003665, allocations: 311.1 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.003933, allocations: 215.2 kB / 351.4 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.004154, allocations: 135.6 kB / 351.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.004349, allocations: 251.2 kB / 351.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.004394, allocations: 5.812 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.004523, allocations: 151.6 kB / 351.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.004676, allocations: 207.5 kB / 352.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.0047, allocations: 8 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.371e-05/0.004774, allocations: 47.92 kB / 352.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.004863, allocations: 143.6 kB / 352.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.004922, allocations: 71.66 kB / 352.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.005157, allocations: 271 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005158, allocations: 4 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005159, allocations: 0 / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.005166, allocations: 0 / 352.6 MB, free: 4.637 MB / 282.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.0005352/0.005701, allocations: 0.7823 MB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.005743, allocations: 12.03 kB / 353.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.005796, allocations: 56.56 kB / 353.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.006035, allocations: 312.7 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.006053, allocations: 384 / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.006063, allocations: 4.375 kB / 353.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.006198, allocations: 98.2 kB / 353.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.006208, allocations: 3.938 kB / 353.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.006217, allocations: 0 / 353.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.006224, allocations: 4 kB / 353.9 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.006256, allocations: 23.95 kB / 353.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.006417, allocations: 212.8 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.006517, allocations: 98.14 kB / 354.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.006545, allocations: 31.36 kB / 354.3 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.00656, allocations: 4 kB / 354.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.528e-05/0.006655, allocations: 104.3 kB / 354.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.006656, allocations: 4 kB / 354.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002199/0.006876, allocations: 169.4 kB / 354.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.006902, allocations: 85.11 kB / 354.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.00723, allocations: 0.6703 MB / 355.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.00724, allocations: 29.7 kB / 355.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.007343, allocations: 306.7 kB / 355.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.007377, allocations: 35.73 kB / 355.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.007409, allocations: 35.34 kB / 355.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.0075, allocations: 0.5664 MB / 356.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.007518, allocations: 11.98 kB / 356.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.007547, allocations: 50.48 kB / 356.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.0076, allocations: 78.66 kB / 356.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007602, allocations: 3.938 kB / 356.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001064/0.007708, allocations: 141.2 kB / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.007719, allocations: 7.984 kB / 356.5 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007722, allocations: 4 kB / 356.6 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.007735, allocations: 3.938 kB / 356.6 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.007798, allocations: 16 kB / 356.6 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.007801, allocations: 4 kB / 356.6 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.007848, allocations: 23.81 kB / 356.6 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.007853, allocations: 8.062 kB / 356.6 MB, free: 408 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.34e-05/0.007927, allocations: 164.9 kB / 356.8 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.007957, allocations: 51.67 kB / 356.8 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.008108, allocations: 169.7 kB / 357 MB, free: 0 / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.008128, allocations: 208 / 357 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.008131, allocations: 3.938 kB / 357 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.008136, allocations: 0 / 357 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.008313, allocations: 225.1 kB / 357.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.008315, allocations: 3.984 kB / 357.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.00834, allocations: 12 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.008344, allocations: 4 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.008351, allocations: 4 kB / 357.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008352, allocations: 0 / 357.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.008354, allocations: 4 kB / 357.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.008517, allocations: 211.5 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.008567, allocations: 51.66 kB / 357.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.008591, allocations: 4 kB / 357.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.008631, allocations: 11.98 kB / 357.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.00866, allocations: 7.984 kB / 357.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.008673, allocations: 7.938 kB / 357.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002604/0.008933, allocations: 434.7 kB / 357.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008933, allocations: 0 / 357.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000168/0.009101, allocations: 51.92 kB / 358 MB, free: 14.93 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007709/0.009872, allocations: 384.8 kB / 358.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.009995, allocations: 63.58 kB / 358.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009996, allocations: 0 / 358.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.01004, allocations: 35.67 kB / 358.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01029, allocations: 83.02 kB / 358.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.01096, allocations: 0.6472 MB / 359.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.959e-05/0.01104, allocations: 136.2 kB / 359.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.729e-05/0.0111, allocations: 38.95 kB / 359.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.01121, allocations: 122.2 kB / 359.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01121, allocations: 0 / 359.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of Templates: time 0.006944/0.01816, allocations: 4.295 MB / 363.8 MB, free: 9.184 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.1306593739427626]