Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 105.4 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.001278/0.001278, allocations: 188 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.391/1.391, 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.1978/0.1978, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 72.61 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003617/0.1138, allocations: 1.699 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.116, allocations: 1.475 MB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.1161, allocations: 7.938 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1164, allocations: 39.77 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.1167, allocations: 63.69 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.117, allocations: 114.7 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1172, allocations: 95.75 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.1173, allocations: 4.234 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.1173, allocations: 47.77 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1175, allocations: 34.47 kB / 474.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1175, allocations: 8 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1176, allocations: 63.95 kB / 474.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.1177, allocations: 19.98 kB / 474.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.1178, allocations: 27.8 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.118, allocations: 127.5 kB / 474.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.118, allocations: 4 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.118, allocations: 0 / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.118, allocations: 0 / 474.5 MB, free: 9.832 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.0005631/0.1186, allocations: 391.2 kB / 474.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1187, allocations: 16.03 kB / 474.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.1187, allocations: 12.78 kB / 475 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.119, allocations: 204.1 kB / 475.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.119, allocations: 4.375 kB / 475.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1191, allocations: 4.125 kB / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1192, allocations: 79.31 kB / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1193, allocations: 0 / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1193, allocations: 0 / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1193, allocations: 4 kB / 475.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.1194, allocations: 19.98 kB / 475.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.1197, allocations: 280.9 kB / 475.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1199, allocations: 58.62 kB / 475.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.12, allocations: 32.78 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.12, allocations: 0 / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.1201, allocations: 67.39 kB / 475.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1201, allocations: 0 / 475.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005165/0.1207, allocations: 173.1 kB / 475.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.1207, allocations: 81.11 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1209, allocations: 152.4 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1209, allocations: 33.7 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.121, allocations: 92.14 kB / 476.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.121, allocations: 23.7 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1211, allocations: 21.72 kB / 476.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1212, allocations: 322.8 kB / 476.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.1212, allocations: 27.92 kB / 476.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.1213, allocations: 46.55 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1214, allocations: 57.75 kB / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1214, allocations: 0 / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.1216, allocations: 101.5 kB / 476.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1217, allocations: 8 kB / 476.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1217, allocations: 0 / 476.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1217, allocations: 0 / 476.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.1218, allocations: 15.98 kB / 476.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1218, allocations: 8.031 kB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.1219, allocations: 11.88 kB / 476.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1219, allocations: 7.938 kB / 476.8 MB, free: 7.273 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 8.484e-05/0.122, allocations: 117.8 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.122, allocations: 11.91 kB / 477 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.122, allocations: 16.7 kB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1221, allocations: 0 / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1221, allocations: 0 / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1221, allocations: 3.938 kB / 477 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.1225, allocations: 387.3 kB / 477.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1225, allocations: 0 / 477.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.1225, allocations: 11.98 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1226, allocations: 0 / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1226, allocations: 8.312 kB / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1226, allocations: 240 / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1226, allocations: 4.188 kB / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1228, allocations: 216.1 kB / 477.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.1229, allocations: 88.95 kB / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1229, allocations: 7.922 kB / 477.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.123, allocations: 8 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.123, allocations: 4 kB / 477.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.123, allocations: 3.984 kB / 477.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1232, allocations: 115.3 kB / 477.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1232, allocations: 4 kB / 477.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1234, allocations: 31.98 kB / 477.9 MB, free: 6.145 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.001147/0.1246, allocations: 492.9 kB / 478.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1248, allocations: 59.91 kB / 478.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1248, allocations: 0 / 478.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.68e-05/0.1249, allocations: 35.91 kB / 478.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1253, allocations: 38.23 kB / 478.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.1257, allocations: 195 kB / 478.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.126, allocations: 0.6934 MB / 479.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.966e-05/0.1261, allocations: 20.86 kB / 479.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.1261, allocations: 27.42 kB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1261, allocations: 0 / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of Templates: time 0.004451/0.1306, allocations: 1.949 MB / 481.4 MB, free: 2.805 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches