Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 105.9 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 195.5 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.25 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1187, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004216/0.1229, allocations: 2.225 MB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1252, allocations: 1.189 MB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.1255, allocations: 7.938 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.126, allocations: 123.4 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005713/0.1266, allocations: 183.1 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.1275, allocations: 313.4 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.1281, allocations: 414.8 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.1282, allocations: 64.7 kB / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.1287, allocations: 259.1 kB / 474.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1289, allocations: 151.2 kB / 474.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.1289, allocations: 16 kB / 474.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.1291, allocations: 67.98 kB / 474.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1293, allocations: 123.6 kB / 475 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1295, allocations: 182.6 kB / 475.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.13, allocations: 406.6 kB / 475.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.13, allocations: 0 / 475.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.13, allocations: 4 kB / 475.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.1301, allocations: 4 kB / 475.6 MB, free: 8.652 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001181/0.1312, allocations: 0.8011 MB / 476.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1313, allocations: 8.031 kB / 476.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1314, allocations: 56.28 kB / 476.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.1319, allocations: 403.7 kB / 476.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.1319, allocations: 12.38 kB / 476.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.132, allocations: 24.06 kB / 476.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.1323, allocations: 192.9 kB / 477.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1324, allocations: 3.906 kB / 477.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.1324, allocations: 8 kB / 477.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1324, allocations: 4 kB / 477.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1326, allocations: 91.86 kB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/0.1335, allocations: 0.7937 MB / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.1341, allocations: 254.4 kB / 478.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.1343, allocations: 91.47 kB / 478.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1344, allocations: 4 kB / 478.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/0.1348, allocations: 202.2 kB / 478.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.776e-06/0.1348, allocations: 0 / 478.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002339/0.1372, allocations: 1.087 MB / 479.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.1373, allocations: 144.5 kB / 479.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.138, allocations: 0.7489 MB / 480.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.1381, allocations: 41.69 kB / 480.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1383, allocations: 236.9 kB / 480.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.1384, allocations: 142.1 kB / 480.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.1385, allocations: 74.14 kB / 481 MB, free: 2.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1387, allocations: 370.8 kB / 481.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1389, allocations: 120.8 kB / 481.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.1392, allocations: 175.2 kB / 481.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.1397, allocations: 323 kB / 482 MB, free: 1.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1397, allocations: 0 / 482 MB, free: 1.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007027/0.1404, allocations: 444.6 kB / 482.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1404, allocations: 4 kB / 482.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1404, allocations: 4 kB / 482.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1405, allocations: 0 / 482.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.1407, allocations: 91.83 kB / 482.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1408, allocations: 4 kB / 482.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1409, allocations: 23.92 kB / 482.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.1409, allocations: 16 kB / 482.5 MB, free: 1.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0002282/0.1412, allocations: 232 kB / 482.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.1413, allocations: 63.25 kB / 482.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1414, allocations: 80.42 kB / 482.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1414, allocations: 4 kB / 482.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.1414, allocations: 4 kB / 482.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1415, allocations: 3.938 kB / 482.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.1431, allocations: 1.311 MB / 484.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.1431, allocations: 7.984 kB / 484.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1433, allocations: 59.92 kB / 484.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1433, allocations: 4 kB / 484.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.1433, allocations: 15.98 kB / 484.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1433, allocations: 4 kB / 484.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.1433, allocations: 8.875 kB / 484.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.1441, allocations: 0.7773 MB / 485.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1443, allocations: 172.3 kB / 485.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.1444, allocations: 12 kB / 485.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1446, allocations: 19.98 kB / 485.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.1447, allocations: 43.83 kB / 485.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.1448, allocations: 24 kB / 485.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005263/0.1453, allocations: 0.5457 MB / 485.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1453, allocations: 384 / 485.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005103/0.1458, allocations: 87.98 kB / 486 MB, free: 13.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001425/0.1473, allocations: 0.5219 MB / 486.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.1479, allocations: 343.5 kB / 486.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.148, allocations: 0 / 486.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.1482, allocations: 163.7 kB / 487 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.1492, allocations: 129.7 kB / 487.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1507, allocations: 1.068 MB / 488.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.1512, allocations: 0.8782 MB / 489.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1513, allocations: 55.42 kB / 489.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1513, allocations: 3.938 kB / 489.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01041/0.1617, allocations: 6.267 MB / 495.4 MB, free: 4.473 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches