Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001465/0.001466, allocations: 191 kB / 19.34 MB, free: 3.641 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.433/1.433, allocations: 222.9 MB / 243 MB, free: 15.15 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.2247/0.2247, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 68.3 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002893/0.1063, allocations: 1.695 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1077, allocations: 0.8769 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.1078, allocations: 7.938 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1081, allocations: 75.75 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1083, allocations: 79.66 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1086, allocations: 111.6 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1088, allocations: 111.7 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.1089, allocations: 16.16 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.109, allocations: 55.77 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.1091, allocations: 47.83 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1091, allocations: 4 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.1092, allocations: 43.97 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.1093, allocations: 23.92 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.1093, allocations: 31.75 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1095, allocations: 131.5 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1095, allocations: 3.984 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1095, allocations: 0 / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1095, allocations: 0 / 474 MB, free: 10.32 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.0004319/0.11, allocations: 414.9 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.11, allocations: 8.031 kB / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.11, allocations: 12.84 kB / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1103, allocations: 216 kB / 474.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1103, allocations: 384 / 474.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1103, allocations: 8.062 kB / 474.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1105, allocations: 61.67 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1105, allocations: 3.938 kB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1105, allocations: 0 / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-06/0.1105, allocations: 0 / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.1106, allocations: 23.98 kB / 474.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1109, allocations: 284.9 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1111, allocations: 62.61 kB / 475.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.1111, allocations: 16.86 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1111, allocations: 4 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.1113, allocations: 67.39 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1113, allocations: 0 / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000519/0.1118, allocations: 181 kB / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1119, allocations: 55.41 kB / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1121, allocations: 211.5 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1121, allocations: 29.7 kB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.1122, allocations: 104.1 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1122, allocations: 23.66 kB / 475.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1123, allocations: 29.7 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1124, allocations: 326.8 kB / 476.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.1124, allocations: 20 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.1125, allocations: 41.58 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1126, allocations: 57.7 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1126, allocations: 4 kB / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.1128, allocations: 97.53 kB / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1129, allocations: 8 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1129, allocations: 3.984 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1129, allocations: 0 / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.113, allocations: 16 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.113, allocations: 0 / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.113, allocations: 3.938 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1131, allocations: 4 kB / 476.4 MB, free: 7.727 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.0001135/0.1132, allocations: 133.9 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.1132, allocations: 15.75 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1133, allocations: 21.39 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1133, allocations: 0 / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1133, allocations: 4.312 kB / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1133, allocations: 3.938 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1137, allocations: 395.5 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1137, allocations: 0 / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.1138, allocations: 16.02 kB / 476.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1138, allocations: 4 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1138, allocations: 7.938 kB / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1138, allocations: 0 / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1139, allocations: 80 / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1141, allocations: 208.2 kB / 477.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1141, allocations: 85.02 kB / 477.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1142, allocations: 19.92 kB / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.1143, allocations: 3.938 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.1143, allocations: 4 kB / 477.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1143, allocations: 7.984 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1145, allocations: 164.2 kB / 477.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1145, allocations: 0 / 477.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1147, allocations: 24 kB / 477.5 MB, free: 6.527 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.001004/0.1157, allocations: 465.8 kB / 477.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1159, allocations: 63.91 kB / 478 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1159, allocations: 0 / 478 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.116, allocations: 28.11 kB / 478 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1163, allocations: 27.64 kB / 478 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.1168, allocations: 247.2 kB / 478.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1171, allocations: 0.708 MB / 479 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.1172, allocations: 21.19 kB / 479 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.1172, allocations: 19.42 kB / 479 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1172, allocations: 0 / 479 MB, free: 5.09 MB / 350.1 MB Notification: Performance of Templates: time 0.004512/0.1217, allocations: 1.706 MB / 480.7 MB, free: 3.398 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches