Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 118.9 kB / 17.04 MB, free: 5.824 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.001092/0.001092, allocations: 194.9 kB / 17.98 MB, free: 4.996 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.462/1.462, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2219/0.2219, allocations: 43.52 MB / 314.7 MB, free: 484 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.001714/0.001714, allocations: 68.83 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1063, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00381/0.1101, allocations: 2.3 MB / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.112, allocations: 1.174 MB / 445.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.1123, allocations: 7.938 kB / 445.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.1129, allocations: 287 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.1136, allocations: 270.9 kB / 446 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.1146, allocations: 334.5 kB / 446.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007305/0.1153, allocations: 0.5024 MB / 446.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1155, allocations: 65 kB / 446.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.1159, allocations: 231 kB / 447.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.1162, allocations: 255 kB / 447.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.1163, allocations: 20 kB / 447.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1165, allocations: 55.98 kB / 447.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1166, allocations: 107.5 kB / 447.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.1168, allocations: 170.8 kB / 447.7 MB, free: 388 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.1174, allocations: 402.4 kB / 448.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1174, allocations: 0 / 448.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1174, allocations: 0 / 448.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.1174, allocations: 0 / 448.1 MB, free: 15.98 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001664/0.1191, allocations: 0.7552 MB / 448.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.1192, allocations: 15.89 kB / 448.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1193, allocations: 56.28 kB / 448.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.1202, allocations: 403.9 kB / 449.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1202, allocations: 4.375 kB / 449.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.1203, allocations: 28.05 kB / 449.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.1207, allocations: 201.8 kB / 449.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1208, allocations: 0 / 449.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.1208, allocations: 15.92 kB / 449.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1208, allocations: 4 kB / 449.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.1211, allocations: 99.88 kB / 449.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1223, allocations: 0.8565 MB / 450.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.123, allocations: 289.3 kB / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1232, allocations: 92.27 kB / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.1233, allocations: 19.91 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/0.1237, allocations: 228.7 kB / 451.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.1237, allocations: 0 / 451.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002321/0.1261, allocations: 0.9693 MB / 452.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.1262, allocations: 174.2 kB / 452.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.1269, allocations: 0.6121 MB / 452.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.127, allocations: 37.69 kB / 452.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1271, allocations: 224.9 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1273, allocations: 122.4 kB / 453.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1274, allocations: 74.12 kB / 453.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1276, allocations: 366.8 kB / 453.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.1278, allocations: 104.9 kB / 453.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1281, allocations: 180.9 kB / 454 MB, free: 9.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.1287, allocations: 296.8 kB / 454.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1287, allocations: 0 / 454.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007907/0.1295, allocations: 408.7 kB / 454.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1295, allocations: 8 kB / 454.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1295, allocations: 0 / 454.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1295, allocations: 4 kB / 454.7 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.1299, allocations: 87.89 kB / 454.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.1299, allocations: 4 kB / 454.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.1301, allocations: 24.14 kB / 454.8 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.1302, allocations: 12 kB / 454.8 MB, free: 8.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002341/0.1304, allocations: 208.3 kB / 455 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1305, allocations: 63.19 kB / 455.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1306, allocations: 59.91 kB / 455.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1306, allocations: 4 kB / 455.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.1307, allocations: 7.984 kB / 455.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1307, allocations: 0 / 455.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.1324, allocations: 1.269 MB / 456.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1324, allocations: 0 / 456.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.1325, allocations: 56.06 kB / 456.5 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1326, allocations: 7.938 kB / 456.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.1326, allocations: 15.94 kB / 456.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.1326, allocations: 7.984 kB / 456.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1326, allocations: 160 / 456.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009169/0.1335, allocations: 0.8125 MB / 457.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1336, allocations: 120.5 kB / 457.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.1337, allocations: 19.92 kB / 457.5 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.1341, allocations: 23.98 kB / 457.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.1342, allocations: 31.91 kB / 457.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.1342, allocations: 23.98 kB / 457.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.1347, allocations: 450.8 kB / 458 MB, free: 5.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1347, allocations: 0 / 458 MB, free: 5.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005536/0.1353, allocations: 79.98 kB / 458.1 MB, free: 5.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001094/0.1364, allocations: 499.7 kB / 458.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.137, allocations: 291.6 kB / 458.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.137, allocations: 0 / 458.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1373, allocations: 149 kB / 459 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1383, allocations: 150.2 kB / 459.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1398, allocations: 0.8569 MB / 460 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.1403, allocations: 0.8628 MB / 460.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.1405, allocations: 83.39 kB / 460.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1407, allocations: 55.41 kB / 461 MB, free: 2.57 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1407, allocations: 0 / 461 MB, free: 2.57 MB / 334.1 MB Notification: Performance of Templates: time 0.01099/0.1517, allocations: 5.641 MB / 466.6 MB, free: 12.95 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches