Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001295/0.001295, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001163/0.001163, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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 1.04/1.04, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.125/0.125, allocations: 32.37 MB / 270.4 MB, free: 14.72 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.514e-05, allocations: 4.281 kB / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002492/0.002528, allocations: 1.82 MB / 349.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003731, allocations: 0.8661 MB / 350.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.003808, allocations: 0 / 350.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.004239, allocations: 311.1 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.004514, allocations: 219.2 kB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.004762, allocations: 139.6 kB / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.005022, allocations: 251.2 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.005084, allocations: 5.812 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.005246, allocations: 147.6 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.005439, allocations: 207.6 kB / 351.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.005472, allocations: 8 kB / 351.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.005568, allocations: 47.92 kB / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.005671, allocations: 139.6 kB / 351.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.00574, allocations: 75.64 kB / 351.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.005972, allocations: 274.9 kB / 352.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005975, allocations: 4 kB / 352.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005975, allocations: 0 / 352.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005981, allocations: 0 / 352.2 MB, free: 4.887 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.0005533/0.006534, allocations: 0.7786 MB / 353 MB, free: 4.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.006568, allocations: 8.031 kB / 353 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.006635, allocations: 56.56 kB / 353.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.006886, allocations: 328.6 kB / 353.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.006905, allocations: 8.312 kB / 353.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.006917, allocations: 4.375 kB / 353.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.007072, allocations: 98.28 kB / 353.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.007081, allocations: 3.938 kB / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.007092, allocations: 0 / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.007101, allocations: 0 / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.007143, allocations: 23.91 kB / 353.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.007354, allocations: 312.2 kB / 353.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.007478, allocations: 102.2 kB / 353.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.007517, allocations: 31.3 kB / 354 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.007529, allocations: 8 kB / 354 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.007637, allocations: 104.4 kB / 354.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.007638, allocations: 0 / 354.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002355/0.007873, allocations: 173.2 kB / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.0079, allocations: 81.11 kB / 354.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.008283, allocations: 0.7018 MB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.008294, allocations: 33.7 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.0084, allocations: 298.8 kB / 355.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.008439, allocations: 35.73 kB / 355.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.008474, allocations: 35.36 kB / 355.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.008568, allocations: 0.5547 MB / 356 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.008596, allocations: 19.98 kB / 356 MB, free: 0.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.008631, allocations: 57.48 kB / 356 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/0.008696, allocations: 79.17 kB / 356.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008698, allocations: 4 kB / 356.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001189/0.008817, allocations: 145.3 kB / 356.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.008828, allocations: 11.98 kB / 356.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008833, allocations: 3.938 kB / 356.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.008846, allocations: 0 / 356.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.008921, allocations: 23.94 kB / 356.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.008927, allocations: 3.984 kB / 356.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.008983, allocations: 15.89 kB / 356.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.00899, allocations: 4 kB / 356.3 MB, free: 0.4961 MB / 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.154e-05/0.009061, allocations: 172.5 kB / 356.5 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.009092, allocations: 55.66 kB / 356.5 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.009264, allocations: 165.7 kB / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009266, allocations: 3.938 kB / 356.7 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.009271, allocations: 4 kB / 356.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.009275, allocations: 0 / 356.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.009508, allocations: 304.5 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.009509, allocations: 256 / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.009542, allocations: 19.92 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009544, allocations: 4 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.009553, allocations: 4 kB / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.009556, allocations: 7.938 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009557, allocations: 0 / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.009732, allocations: 211.7 kB / 357.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.009785, allocations: 55.66 kB / 357.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.009812, allocations: 4 kB / 357.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.009854, allocations: 11.92 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.009907, allocations: 15.92 kB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.009925, allocations: 4 kB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.01026, allocations: 478.8 kB / 357.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.01026, allocations: 7.938 kB / 357.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000168/0.01043, allocations: 43.94 kB / 357.9 MB, free: 14.88 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.0008457/0.01128, allocations: 399.9 kB / 358.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01142, allocations: 71.59 kB / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01142, allocations: 0 / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/0.01147, allocations: 39.61 kB / 358.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01173, allocations: 78.52 kB / 358.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.0124, allocations: 0.655 MB / 359.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.653e-05/0.01247, allocations: 132.2 kB / 359.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.01254, allocations: 39.45 kB / 359.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.01258, allocations: 36.48 kB / 359.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01258, allocations: 0 / 359.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of Templates: time 0.006063/0.01865, allocations: 4.248 MB / 363.5 MB, free: 9.238 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.4502417286857963]