Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001549/0.001549, allocations: 80.92 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.001633/0.001633, allocations: 173.9 kB / 24.91 MB, free: 9.191 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 32.8 MB / 294.6 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 4 kB / 323.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.289e-05, allocations: 5.438 kB / 323.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002326/0.002349, allocations: 1.872 MB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.003723, allocations: 1.091 MB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.003806, allocations: 0 / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.004215, allocations: 303.1 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.004557, allocations: 267 kB / 326.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.004747, allocations: 107.6 kB / 327 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.004987, allocations: 271.2 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.005028, allocations: 11.08 kB / 327.3 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.005178, allocations: 151.6 kB / 327.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.005342, allocations: 176.4 kB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.005361, allocations: 8 kB / 327.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.005447, allocations: 51.91 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.005549, allocations: 135.5 kB / 327.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.781e-05/0.005617, allocations: 79.64 kB / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.005884, allocations: 290.9 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.005886, allocations: 0 / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005887, allocations: 0 / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.005891, allocations: 0 / 328.1 MB, free: 4.801 MB / 298.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.0005143/0.006405, allocations: 0.6353 MB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.611e-05/0.006431, allocations: 8.031 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.006475, allocations: 28.91 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.006734, allocations: 309.8 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.006748, allocations: 8.375 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.006757, allocations: 8.375 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.006874, allocations: 87.45 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006882, allocations: 3.938 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.006889, allocations: 4 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006893, allocations: 0 / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.006924, allocations: 21.58 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.007082, allocations: 122.2 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.007179, allocations: 78.86 kB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.007206, allocations: 29.7 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.007215, allocations: 0 / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.947e-05/0.007315, allocations: 99.83 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 6.41e-07/0.007315, allocations: 0 / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001432/0.007459, allocations: 111.2 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.007489, allocations: 81.05 kB / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.007924, allocations: 0.6024 MB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.007938, allocations: 29.7 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.007996, allocations: 157.3 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.008029, allocations: 27.73 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.008073, allocations: 33.7 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.00819, allocations: 366.7 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.008219, allocations: 14.81 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.008251, allocations: 47.34 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.008311, allocations: 67.88 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008313, allocations: 3.938 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001026/0.008416, allocations: 111.8 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.008426, allocations: 4 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.00843, allocations: 0 / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.008439, allocations: 4 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.008506, allocations: 23.92 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.00851, allocations: 7.938 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.008557, allocations: 4 kB / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.008565, allocations: 8 kB / 331.2 MB, free: 1.449 MB / 298.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 8.54e-05/0.00865, allocations: 125.2 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.008694, allocations: 32.03 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.008868, allocations: 117.9 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.008871, allocations: 0 / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.008874, allocations: 7.938 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.008878, allocations: 0 / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.009043, allocations: 173.6 kB / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009045, allocations: 0 / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.009074, allocations: 12 kB / 331.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.009077, allocations: 0 / 331.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.009082, allocations: 3.938 kB / 331.7 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.009084, allocations: 4 kB / 331.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.009088, allocations: 11.92 kB / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.009196, allocations: 135 kB / 331.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.009364, allocations: 51.66 kB / 331.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.00939, allocations: 4 kB / 331.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.009429, allocations: 8.172 kB / 331.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.009458, allocations: 15.98 kB / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.009469, allocations: 3.938 kB / 331.9 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.009686, allocations: 323.2 kB / 332.2 MB, free: 388 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009686, allocations: 0 / 332.2 MB, free: 388 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.009834, allocations: 43.94 kB / 332.3 MB, free: 344 kB / 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.001022/0.01086, allocations: 0.5085 MB / 332.8 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.01096, allocations: 60.7 kB / 332.9 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.01097, allocations: 4 kB / 332.9 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.01101, allocations: 36.77 kB / 332.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.01121, allocations: 74.08 kB / 333 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.01182, allocations: 0.6498 MB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.133e-05/0.01189, allocations: 136.2 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.01196, allocations: 42.94 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.01206, allocations: 95.36 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01206, allocations: 0 / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of Templates: time 0.006437/0.0185, allocations: 4.323 MB / 338.2 MB, free: 10.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.861905755009502]