Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 107.3 kB / 17.03 MB, free: 5.66 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.001786/0.001786, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2374/0.2374, allocations: 43.53 MB / 314.7 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 72.22 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1239, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003058/0.127, allocations: 1.838 MB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1283, allocations: 0.8974 MB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.1284, allocations: 0 / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.1288, allocations: 163.5 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.1291, allocations: 135.5 kB / 445 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1294, allocations: 155.3 kB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.1296, allocations: 211.5 kB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1298, allocations: 21.53 kB / 445.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1299, allocations: 107.5 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1301, allocations: 127.6 kB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1301, allocations: 8 kB / 445.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.1302, allocations: 35.94 kB / 445.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.1303, allocations: 51.81 kB / 445.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.1303, allocations: 67.5 kB / 445.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1306, allocations: 195.3 kB / 446 MB, free: 2.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1306, allocations: 8 kB / 446 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1306, allocations: 3.938 kB / 446 MB, free: 2.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1306, allocations: 0 / 446 MB, free: 2.105 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005734/0.1312, allocations: 0.5137 MB / 446.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1312, allocations: 11.89 kB / 446.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.1313, allocations: 24.66 kB / 446.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.1316, allocations: 267.6 kB / 446.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1316, allocations: 8.375 kB / 446.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.1316, allocations: 16.06 kB / 446.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1318, allocations: 91.36 kB / 446.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1319, allocations: 0 / 446.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1319, allocations: 4 kB / 446.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1319, allocations: 0 / 446.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.132, allocations: 35.97 kB / 446.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.1324, allocations: 448.8 kB / 447.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1327, allocations: 113.3 kB / 447.5 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.349e-05/0.1327, allocations: 41.7 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1328, allocations: 3.938 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.133, allocations: 120.9 kB / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.133, allocations: 0 / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008149/0.1338, allocations: 360.4 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1339, allocations: 81.05 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.1343, allocations: 362.9 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1343, allocations: 25.7 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.1344, allocations: 140.4 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.1345, allocations: 51.33 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.1345, allocations: 33.72 kB / 448.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1347, allocations: 342.8 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1348, allocations: 43.92 kB / 449.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1349, allocations: 72.61 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1352, allocations: 115.5 kB / 449.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1352, allocations: 8 kB / 449.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003051/0.1355, allocations: 173.3 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1355, allocations: 9.25 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1355, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1355, allocations: 4 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1357, allocations: 35.92 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1357, allocations: 7.938 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.1358, allocations: 4 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1358, allocations: 16.03 kB / 449.5 MB, free: 14.3 MB / 334.1 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000147/0.136, allocations: 161.6 kB / 449.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.136, allocations: 27.62 kB / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.1361, allocations: 29.73 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1361, allocations: 0 / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1361, allocations: 7.938 kB / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1361, allocations: 3.984 kB / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.1368, allocations: 0.6047 MB / 450.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1368, allocations: 7.938 kB / 450.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1369, allocations: 12 kB / 450.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1369, allocations: 4 kB / 450.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1369, allocations: 11.98 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1369, allocations: 0 / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1369, allocations: 0 / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1373, allocations: 372.2 kB / 450.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1374, allocations: 96.83 kB / 450.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.1374, allocations: 4 kB / 450.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1375, allocations: 8.359 kB / 450.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.1376, allocations: 19.98 kB / 450.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1376, allocations: 8 kB / 450.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.1378, allocations: 269.9 kB / 451.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1378, allocations: 0 / 451.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.1382, allocations: 36 kB / 451.1 MB, free: 12.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (16): * Single equations (assignments): 12 * 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.001084/0.1393, allocations: 474.7 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.1396, allocations: 119.9 kB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1396, allocations: 0 / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1397, allocations: 55.92 kB / 451.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.1403, allocations: 67 kB / 451.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.1411, allocations: 438.5 kB / 452.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1415, allocations: 0.7476 MB / 453 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.86e-05/0.1416, allocations: 34.55 kB / 453.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.1416, allocations: 23.44 kB / 453.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1416, allocations: 0 / 453.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of Templates: time 0.006042/0.1477, allocations: 2.696 MB / 455.8 MB, free: 7.922 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches