Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.0009639/0.0009639, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.0009862/0.0009862, allocations: 173 kB / 24.14 MB, free: 356 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.899/0.899, allocations: 158.6 MB / 186 MB, free: 2.762 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.141/0.141, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.589e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002609/0.002635, allocations: 1.801 MB / 300.9 MB, free: 324 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1437/0.1463, allocations: 1.594 MB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.1464, allocations: 6.312 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.1468, allocations: 53.11 kB / 302.6 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1471, allocations: 94.77 kB / 302.7 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1474, allocations: 146.2 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.1477, allocations: 191 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.1478, allocations: 8.703 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1479, allocations: 97.48 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1481, allocations: 58.88 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.1481, allocations: 8.469 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.1483, allocations: 60.84 kB / 303.2 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.1483, allocations: 35.39 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.1484, allocations: 38.52 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.1486, allocations: 146.4 kB / 303.5 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1486, allocations: 0 / 303.5 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1486, allocations: 1.156 kB / 303.5 MB, free: 19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1487, allocations: 0 / 303.5 MB, free: 19 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.0004516/0.1491, allocations: 373.9 kB / 303.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1491, allocations: 10.09 kB / 303.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.1492, allocations: 12.77 kB / 303.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.1494, allocations: 174.9 kB / 304 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1494, allocations: 3.047 kB / 304 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1494, allocations: 5.766 kB / 304 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1496, allocations: 152.5 kB / 304.2 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1496, allocations: 4.734 kB / 304.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1496, allocations: 1.906 kB / 304.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1496, allocations: 1.312 kB / 304.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.1497, allocations: 31.17 kB / 304.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.1498, allocations: 83.11 kB / 304.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1499, allocations: 82.31 kB / 304.4 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.15, allocations: 22.62 kB / 304.4 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.15, allocations: 3.219 kB / 304.4 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.1501, allocations: 94.78 kB / 304.5 MB, free: 18.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.041e-06/0.1501, allocations: 0.6562 kB / 304.5 MB, free: 18.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001654/0.1503, allocations: 96.27 kB / 304.6 MB, free: 18.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1503, allocations: 139.4 kB / 304.7 MB, free: 17.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1505, allocations: 198.8 kB / 304.9 MB, free: 17.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1505, allocations: 31.55 kB / 305 MB, free: 17.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.1505, allocations: 100.2 kB / 305 MB, free: 17.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1505, allocations: 33.59 kB / 305.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1506, allocations: 38.08 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.1506, allocations: 328.8 kB / 305.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.1506, allocations: 13.05 kB / 305.5 MB, free: 17.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.104e-05/0.1507, allocations: 101 kB / 305.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.981e-05/0.1508, allocations: 72.23 kB / 305.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1508, allocations: 1.094 kB / 305.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001106/0.1509, allocations: 95.28 kB / 305.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1509, allocations: 5.375 kB / 305.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1509, allocations: 1.656 kB / 305.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1509, allocations: 3.125 kB / 305.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.151, allocations: 27.66 kB / 305.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.151, allocations: 4.391 kB / 305.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.151, allocations: 15.77 kB / 305.8 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1511, allocations: 3.391 kB / 305.8 MB, free: 17.02 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 6.831e-05/0.1511, allocations: 124.5 kB / 305.9 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1511, allocations: 12.44 kB / 305.9 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.1513, allocations: 94.88 kB / 306 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1513, allocations: 1.531 kB / 306 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1513, allocations: 3.938 kB / 306 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1513, allocations: 2.062 kB / 306 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1514, allocations: 102.4 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1514, allocations: 1.125 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.1514, allocations: 13.36 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1514, allocations: 1.156 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.1515, allocations: 3.531 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1515, allocations: 0.6562 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1515, allocations: 1.156 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.1516, allocations: 127 kB / 306.3 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.1516, allocations: 14.44 kB / 306.3 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1516, allocations: 7.891 kB / 306.3 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.979e-05/0.1516, allocations: 9.594 kB / 306.3 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.1517, allocations: 8.203 kB / 306.3 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1517, allocations: 12.7 kB / 306.3 MB, free: 16.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.62e-05/0.1518, allocations: 64.7 kB / 306.4 MB, free: 16.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1518, allocations: 0 / 306.4 MB, free: 16.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.152, allocations: 43.95 kB / 306.4 MB, free: 16.59 MB / 282.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001263/0.1532, allocations: 0.5674 MB / 307 MB, free: 16.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.1534, allocations: 50.33 kB / 307 MB, free: 16.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.1534, allocations: 2.188 kB / 307 MB, free: 16.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.1534, allocations: 39.86 kB / 307.1 MB, free: 16.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.1536, allocations: 52.53 kB / 307.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.154, allocations: 254 kB / 307.4 MB, free: 16.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.1541, allocations: 80.05 kB / 307.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.059e-05/0.1542, allocations: 28.88 kB / 307.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1543, allocations: 97.94 kB / 307.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1543, allocations: 0 / 307.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of Templates: time 0.005715/0.16, allocations: 3.186 MB / 310.8 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.0043941978365183]