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.00115/0.00115, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001196/0.001196, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.32/1.32, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.1993/0.1993, allocations: 44.17 MB / 336.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.31 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09597, allocations: 60.83 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003595/0.09961, allocations: 2.278 MB / 471.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1015, allocations: 1.181 MB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1016, allocations: 3.938 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.102, allocations: 111.6 kB / 473 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1024, allocations: 159.4 kB / 473.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.103, allocations: 292.1 kB / 473.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.1035, allocations: 418.8 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1036, allocations: 60.7 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.1039, allocations: 263 kB / 474.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1041, allocations: 155.2 kB / 474.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1041, allocations: 16 kB / 474.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1042, allocations: 71.92 kB / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1044, allocations: 127.6 kB / 474.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.1045, allocations: 178.6 kB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1049, allocations: 315.6 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1049, allocations: 0 / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1049, allocations: 0 / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1049, allocations: 0 / 475 MB, free: 9.125 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.0009965/0.1059, allocations: 0.7973 MB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1059, allocations: 12.03 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.106, allocations: 56.28 kB / 475.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.1065, allocations: 407.7 kB / 476.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1065, allocations: 8.375 kB / 476.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.1066, allocations: 20.12 kB / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.107, allocations: 189.5 kB / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.107, allocations: 7.844 kB / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.107, allocations: 4 kB / 476.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.107, allocations: 8 kB / 476.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.1073, allocations: 95.91 kB / 476.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.1081, allocations: 0.7976 MB / 477.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.1087, allocations: 242.5 kB / 477.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.1089, allocations: 95.47 kB / 477.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.1089, allocations: 7.938 kB / 477.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.1093, allocations: 204.5 kB / 477.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.847e-06/0.1093, allocations: 0 / 477.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002337/0.1117, allocations: 1.087 MB / 479 MB, free: 4.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.1118, allocations: 136.5 kB / 479.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.1125, allocations: 0.7528 MB / 479.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1125, allocations: 37.7 kB / 479.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1127, allocations: 236.9 kB / 480.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1128, allocations: 150 kB / 480.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.1129, allocations: 78.12 kB / 480.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1131, allocations: 370.8 kB / 480.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.1133, allocations: 112.8 kB / 480.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.1136, allocations: 183.2 kB / 481 MB, free: 2.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.1141, allocations: 319 kB / 481.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1141, allocations: 0 / 481.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006709/0.1148, allocations: 444.5 kB / 481.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1148, allocations: 4 kB / 481.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1148, allocations: 4 kB / 481.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1148, allocations: 4 kB / 481.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.1151, allocations: 87.89 kB / 481.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1151, allocations: 4 kB / 481.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1153, allocations: 23.98 kB / 481.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1153, allocations: 20 kB / 481.9 MB, free: 1.82 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.0002212/0.1155, allocations: 228 kB / 482.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.1156, allocations: 59.25 kB / 482.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.1157, allocations: 80.48 kB / 482.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1157, allocations: 11.94 kB / 482.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1157, allocations: 0 / 482.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1158, allocations: 3.938 kB / 482.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.1172, allocations: 1.307 MB / 483.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.1173, allocations: 0 / 483.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1174, allocations: 63.91 kB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1174, allocations: 4 kB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.1175, allocations: 15.94 kB / 483.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1175, allocations: 8 kB / 483.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.1175, allocations: 0 / 483.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000786/0.1183, allocations: 0.7853 MB / 484.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1184, allocations: 176.2 kB / 484.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.1185, allocations: 12 kB / 484.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.1188, allocations: 15.98 kB / 484.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.1189, allocations: 47.89 kB / 484.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.1189, allocations: 16 kB / 484.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005151/0.1194, allocations: 0.5496 MB / 485.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1194, allocations: 0 / 485.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.1199, allocations: 87.98 kB / 485.4 MB, free: 14.21 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.001158/0.1211, allocations: 0.525 MB / 485.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005837/0.1217, allocations: 339.5 kB / 486.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1217, allocations: 0 / 486.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.122, allocations: 160.5 kB / 486.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008891/0.1229, allocations: 139.2 kB / 486.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1245, allocations: 1.224 MB / 487.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.125, allocations: 0.8782 MB / 488.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1251, allocations: 51.42 kB / 488.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1252, allocations: 0 / 488.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of Templates: time 0.008551/0.1337, allocations: 6.266 MB / 494.9 MB, free: 4.801 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