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.001081/0.001081, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001903/0.001903, allocations: 173 kB / 24.06 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.9363/0.9363, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1415/0.1415, allocations: 32.37 MB / 270.7 MB, free: 14.54 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 1.533e-06/1.533e-06, allocations: 0 / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.716e-05, allocations: 8.219 kB / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002442/0.00247, allocations: 1.812 MB / 350 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003557, allocations: 0.8583 MB / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.003659, allocations: 0 / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.004114, allocations: 315 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.004432, allocations: 215.2 kB / 351.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.00471, allocations: 139.6 kB / 351.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.004943, allocations: 251.3 kB / 351.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.004986, allocations: 5.812 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.005114, allocations: 143.6 kB / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.005276, allocations: 207.6 kB / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.005299, allocations: 8 kB / 352.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.052e-05/0.00539, allocations: 43.92 kB / 352.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.005472, allocations: 139.6 kB / 352.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.005529, allocations: 75.66 kB / 352.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.00575, allocations: 278.9 kB / 352.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005752, allocations: 0 / 352.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005753, allocations: 4 kB / 352.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.005758, allocations: 0 / 352.6 MB, free: 4.621 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.000527/0.006285, allocations: 0.7823 MB / 353.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.00632, allocations: 8.031 kB / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.006376, allocations: 60.56 kB / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.006609, allocations: 304.7 kB / 353.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.006626, allocations: 4.375 kB / 353.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.006635, allocations: 4.375 kB / 353.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.006767, allocations: 94.27 kB / 353.9 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006775, allocations: 7.938 kB / 353.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.006783, allocations: 7.984 kB / 353.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.006789, allocations: 0 / 353.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.006818, allocations: 19.91 kB / 353.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.007006, allocations: 216.8 kB / 354.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.007108, allocations: 94.14 kB / 354.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.007135, allocations: 31.36 kB / 354.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.007152, allocations: 4 kB / 354.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.007272, allocations: 108.3 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.007273, allocations: 0 / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002231/0.007496, allocations: 177.2 kB / 354.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.007518, allocations: 77.11 kB / 354.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.007843, allocations: 0.6664 MB / 355.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.007857, allocations: 33.7 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.007959, allocations: 314.7 kB / 355.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.007994, allocations: 23.75 kB / 355.7 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.008035, allocations: 39.34 kB / 355.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.008131, allocations: 0.5703 MB / 356.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.008153, allocations: 11.98 kB / 356.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.008191, allocations: 46.73 kB / 356.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.77e-05/0.008249, allocations: 74.66 kB / 356.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.008251, allocations: 3.938 kB / 356.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001271/0.008378, allocations: 141.2 kB / 356.5 MB, free: 464 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.008391, allocations: 11.98 kB / 356.5 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008397, allocations: 4.062 kB / 356.5 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.008411, allocations: 3.938 kB / 356.6 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.008488, allocations: 20 kB / 356.6 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.008492, allocations: 0 / 356.6 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.008546, allocations: 16.5 kB / 356.6 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.008553, allocations: 8 kB / 356.6 MB, free: 400 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.555e-05/0.008629, allocations: 168.4 kB / 356.8 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.008665, allocations: 55.67 kB / 356.8 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.008856, allocations: 165.8 kB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.008861, allocations: 7.938 kB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.008863, allocations: 0 / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.008867, allocations: 4 kB / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.009048, allocations: 221 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.009051, allocations: 3.984 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.009085, allocations: 12 kB / 357.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009088, allocations: 0 / 357.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.009096, allocations: 0 / 357.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.0091, allocations: 4 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009102, allocations: 0 / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.009294, allocations: 215.5 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.009347, allocations: 55.66 kB / 357.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.009375, allocations: 7.984 kB / 357.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.009421, allocations: 7.984 kB / 357.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.009458, allocations: 15.92 kB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.009474, allocations: 4 kB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.009747, allocations: 426.7 kB / 357.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.009748, allocations: 4 kB / 357.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.009945, allocations: 47.92 kB / 358 MB, free: 14.92 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.0008495/0.01079, allocations: 390.1 kB / 358.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01094, allocations: 63.59 kB / 358.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01095, allocations: 0 / 358.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.035e-05/0.011, allocations: 36.11 kB / 358.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01128, allocations: 82.7 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.0007078/0.01199, allocations: 0.6471 MB / 359.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.121e-05/0.01208, allocations: 136.2 kB / 359.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.01216, allocations: 38.95 kB / 359.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01227, allocations: 118.2 kB / 359.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01227, allocations: 0 / 359.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.008137/0.0204, allocations: 4.297 MB / 363.8 MB, free: 9.18 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.409639998804778]