Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001277, allocations: 104.4 kB / 17.98 MB, free: 5.359 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.001111/0.001111, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.309/1.309, allocations: 222.9 MB / 242.6 MB, free: 13.72 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.1911/0.1911, allocations: 44.17 MB / 336.9 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.81 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1046, allocations: 60.83 MB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003121/0.1078, allocations: 1.769 MB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1091, allocations: 0.8653 MB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.1092, allocations: 0 / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1095, allocations: 87.8 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1098, allocations: 67.73 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.11, allocations: 102.8 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1102, allocations: 111.7 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.1103, allocations: 19.98 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.1104, allocations: 55.77 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.1105, allocations: 67.69 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1106, allocations: 4 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1107, allocations: 59.98 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.1107, allocations: 27.91 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.1108, allocations: 39.73 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.111, allocations: 112 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.111, allocations: 0 / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.111, allocations: 3.938 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.111, allocations: 0 / 472.8 MB, free: 11.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005088/0.1115, allocations: 430.9 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1116, allocations: 8.031 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.1116, allocations: 12.75 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1119, allocations: 216.6 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1119, allocations: 384 / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1119, allocations: 12.12 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1121, allocations: 57.66 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1121, allocations: 11.91 kB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1121, allocations: 0 / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1121, allocations: 3.984 kB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.1122, allocations: 23.92 kB / 473.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1126, allocations: 300.8 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1128, allocations: 74.53 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.1129, allocations: 16.98 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1129, allocations: 7.938 kB / 473.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.1131, allocations: 67.38 kB / 474 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1131, allocations: 3.938 kB / 474 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007236/0.1139, allocations: 241.2 kB / 474.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1139, allocations: 55.34 kB / 474.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1141, allocations: 218.7 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1141, allocations: 29.7 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.1142, allocations: 120 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.1142, allocations: 35.55 kB / 474.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1143, allocations: 21.72 kB / 474.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1144, allocations: 334.8 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.1145, allocations: 23.98 kB / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.571e-05/0.1146, allocations: 53.62 kB / 475.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1147, allocations: 73.72 kB / 475.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1147, allocations: 0 / 475.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002099/0.1149, allocations: 133.4 kB / 475.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1149, allocations: 8.031 kB / 475.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.115, allocations: 0 / 475.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.115, allocations: 4 kB / 475.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.1151, allocations: 19.98 kB / 475.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1151, allocations: 3.938 kB / 475.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.1151, allocations: 4 kB / 475.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1151, allocations: 8 kB / 475.3 MB, free: 8.477 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 (13): * Single equations (assignments): 13 * 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 9.336e-05/0.1152, allocations: 133.8 kB / 475.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1153, allocations: 15.81 kB / 475.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.1153, allocations: 21.39 kB / 475.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1153, allocations: 7.938 kB / 475.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1153, allocations: 3.938 kB / 475.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1153, allocations: 0 / 475.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.1159, allocations: 452 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1159, allocations: 64 / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.116, allocations: 16 kB / 476 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.116, allocations: 4 kB / 476 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.116, allocations: 0 / 476 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.116, allocations: 7.984 kB / 476 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.116, allocations: 7.938 kB / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1163, allocations: 237.1 kB / 476.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1164, allocations: 89.02 kB / 476.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1164, allocations: 7.984 kB / 476.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.1165, allocations: 0 / 476.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1165, allocations: 15.98 kB / 476.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1165, allocations: 4 kB / 476.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1167, allocations: 168.3 kB / 476.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1167, allocations: 0 / 476.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1169, allocations: 35.89 kB / 476.6 MB, free: 7.164 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001093/0.118, allocations: 0.507 MB / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1183, allocations: 83.91 kB / 477.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1183, allocations: 0 / 477.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.1184, allocations: 39.92 kB / 477.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1187, allocations: 31.91 kB / 477.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.1192, allocations: 334.5 kB / 477.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1195, allocations: 0.731 MB / 478.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.1196, allocations: 19.61 kB / 478.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1196, allocations: 0 / 478.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Templates: time 0.003826/0.1234, allocations: 2.203 MB / 480.5 MB, free: 3.367 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches