Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 110.1 kB / 17.04 MB, free: 5.812 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.001158/0.001159, allocations: 196 kB / 17.98 MB, free: 5.027 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.568/1.568, 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.2099/0.2099, allocations: 43.51 MB / 314.7 MB, free: 480 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.001633/0.001633, allocations: 67.55 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1163, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003857/0.1203, allocations: 1.778 MB / 443.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1223, allocations: 1.48 MB / 445.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1224, allocations: 0 / 445.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.1228, allocations: 55.69 kB / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.1232, allocations: 91.53 kB / 445.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1237, allocations: 142.5 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.124, allocations: 175.5 kB / 445.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.1241, allocations: 21.55 kB / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1243, allocations: 79.56 kB / 445.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.1245, allocations: 67.69 kB / 445.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.1245, allocations: 8 kB / 445.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.1247, allocations: 67.91 kB / 445.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.1248, allocations: 31.91 kB / 446 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.1249, allocations: 59.59 kB / 446 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1252, allocations: 167.5 kB / 446.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1252, allocations: 0 / 446.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1252, allocations: 0 / 446.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1252, allocations: 4 kB / 446.2 MB, free: 1.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005938/0.1258, allocations: 474.5 kB / 446.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1258, allocations: 11.89 kB / 446.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.1259, allocations: 20.75 kB / 446.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.1262, allocations: 243.6 kB / 446.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1263, allocations: 4.375 kB / 446.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1263, allocations: 8.125 kB / 446.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1265, allocations: 101 kB / 447 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1265, allocations: 0 / 447 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1265, allocations: 8 kB / 447 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1266, allocations: 0 / 447 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.79e-05/0.1267, allocations: 23.98 kB / 447.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.1269, allocations: 226.4 kB / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1271, allocations: 101.2 kB / 447.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.748e-05/0.1272, allocations: 41.64 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1272, allocations: 8 kB / 447.4 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.1274, allocations: 108.9 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1274, allocations: 7.938 kB / 447.6 MB, free: 360 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000401/0.1278, allocations: 165.4 kB / 447.7 MB, free: 188 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1279, allocations: 128.5 kB / 447.8 MB, free: 28 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1282, allocations: 215.8 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1282, allocations: 29.7 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1283, allocations: 112.1 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.1283, allocations: 27.64 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.1284, allocations: 25.72 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1285, allocations: 330.8 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.1286, allocations: 31.97 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1287, allocations: 77.08 kB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.1289, allocations: 83.86 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1289, allocations: 0 / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002948/0.1292, allocations: 145.4 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1292, allocations: 8 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1292, allocations: 0 / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1293, allocations: 0 / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1294, allocations: 23.98 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1294, allocations: 3.938 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.864e-05/0.1295, allocations: 11.91 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1295, allocations: 4 kB / 448.9 MB, free: 14.84 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_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 0.0001103/0.1296, allocations: 137.8 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1297, allocations: 15.81 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1297, allocations: 20.98 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1297, allocations: 3.984 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1297, allocations: 0 / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1298, allocations: 0 / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1299, allocations: 221.5 kB / 449.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1299, allocations: 4 kB / 449.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.13, allocations: 7.984 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.13, allocations: 3.938 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.13, allocations: 15.94 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.13, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.13, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.1303, allocations: 169.6 kB / 449.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1304, allocations: 92.91 kB / 449.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.1305, allocations: 4.094 kB / 449.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.1305, allocations: 11.94 kB / 449.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1306, allocations: 7.984 kB / 449.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1306, allocations: 8 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1308, allocations: 165.5 kB / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1308, allocations: 0 / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.131, allocations: 32 kB / 449.8 MB, free: 13.84 MB / 334.1 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.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00103/0.1321, allocations: 448.7 kB / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1323, allocations: 79.97 kB / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1323, allocations: 0 / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1324, allocations: 44.05 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1328, allocations: 67.05 kB / 450.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.1334, allocations: 260.3 kB / 450.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1338, allocations: 0.7163 MB / 451.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1339, allocations: 33.52 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.134, allocations: 23.44 kB / 451.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.134, allocations: 0 / 451.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Templates: time 0.006509/0.1405, allocations: 2.638 MB / 454.1 MB, free: 9.598 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches