Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 106.1 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.001123/0.001123, allocations: 195.3 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.388/1.388, 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.2105/0.2105, allocations: 44.17 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 61.22 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1082, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003436/0.1117, allocations: 1.696 MB / 471.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1133, allocations: 0.8769 MB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1134, allocations: 3.938 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1138, allocations: 35.84 kB / 472.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1141, allocations: 55.69 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1145, allocations: 111.6 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1147, allocations: 99.7 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1148, allocations: 16.22 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1149, allocations: 39.78 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.115, allocations: 27.86 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.115, allocations: 4 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1151, allocations: 39.98 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.1152, allocations: 19.91 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.1153, allocations: 31.75 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1155, allocations: 123.8 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1155, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1155, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1156, allocations: 0 / 473.1 MB, free: 11.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005497/0.1161, allocations: 415 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1162, allocations: 8.031 kB / 473.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.1162, allocations: 8.844 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1165, allocations: 208 kB / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1165, allocations: 4.375 kB / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1165, allocations: 12.12 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1167, allocations: 53.67 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1167, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1167, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1167, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.1168, allocations: 23.92 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1173, allocations: 284.9 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1175, allocations: 62.67 kB / 474.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.1175, allocations: 16.86 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1176, allocations: 7.938 kB / 474.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.1178, allocations: 67.33 kB / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1178, allocations: 0 / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005618/0.1184, allocations: 173.2 kB / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1184, allocations: 51.41 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1186, allocations: 190.2 kB / 474.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1186, allocations: 25.7 kB / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.1187, allocations: 100.1 kB / 474.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1187, allocations: 23.66 kB / 474.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.1188, allocations: 29.7 kB / 474.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1189, allocations: 330.8 kB / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.119, allocations: 16 kB / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.1191, allocations: 37.7 kB / 475.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1192, allocations: 66.06 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1192, allocations: 0 / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.1194, allocations: 105.4 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1194, allocations: 8.016 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1194, allocations: 8 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1194, allocations: 4.188 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.1195, allocations: 12 kB / 475.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1196, allocations: 3.938 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.1196, allocations: 7.938 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1196, allocations: 3.984 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001066/0.1198, allocations: 129.8 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1198, allocations: 7.906 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.1198, allocations: 20.7 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1198, allocations: 0 / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1199, allocations: 0 / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1199, allocations: 7.938 kB / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.1203, allocations: 387.3 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1203, allocations: 0 / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.1204, allocations: 11.94 kB / 476 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1204, allocations: 0 / 476 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1204, allocations: 15.95 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1204, allocations: 0 / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1204, allocations: 0 / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1207, allocations: 200.2 kB / 476.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.1207, allocations: 88.95 kB / 476.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1208, allocations: 3.938 kB / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.1208, allocations: 7.984 kB / 476.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1209, allocations: 15.94 kB / 476.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1209, allocations: 4 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.121, allocations: 143.2 kB / 476.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.121, allocations: 0 / 476.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1213, allocations: 20 kB / 476.5 MB, free: 7.477 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001074/0.1224, allocations: 471.3 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1226, allocations: 67.84 kB / 477 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1226, allocations: 0 / 477 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.1227, allocations: 31.97 kB / 477 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.123, allocations: 31.64 kB / 477.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.1236, allocations: 256.9 kB / 477.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1239, allocations: 0.7079 MB / 478 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.1239, allocations: 15.44 kB / 478 MB, free: 6.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1239, allocations: 0 / 478 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Templates: time 0.00397/0.1279, allocations: 1.895 MB / 479.9 MB, free: 4.148 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches