Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 109.4 kB / 18.4 MB, free: 4.566 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.001105/0.001105, 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.363/1.363, 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.203/0.203, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 75.05 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1152, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003163/0.1184, allocations: 1.734 MB / 472.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1198, allocations: 0.8886 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.1199, allocations: 3.938 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1202, allocations: 115.6 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.1204, allocations: 79.7 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1207, allocations: 115.6 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.1209, allocations: 127.7 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.121, allocations: 23.98 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.117e-05/0.1211, allocations: 59.75 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1212, allocations: 67.81 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1212, allocations: 4 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1214, allocations: 59.98 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1214, allocations: 39.77 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.1215, allocations: 43.67 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1217, allocations: 163.5 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1217, allocations: 0 / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1217, allocations: 0 / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.1217, allocations: 0 / 474.2 MB, free: 10.13 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005145/0.1223, allocations: 446.8 kB / 474.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1223, allocations: 12.03 kB / 474.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1224, allocations: 12.75 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1226, allocations: 227.8 kB / 474.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1226, allocations: 8.312 kB / 474.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1227, allocations: 16.12 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1228, allocations: 69.66 kB / 475 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1229, allocations: 0 / 475 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1229, allocations: 4 kB / 475 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1229, allocations: 4 kB / 475 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.123, allocations: 35.97 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1234, allocations: 336.5 kB / 475.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1237, allocations: 78.55 kB / 475.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.1237, allocations: 28.84 kB / 475.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1238, allocations: 4 kB / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.1239, allocations: 75.31 kB / 475.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1239, allocations: 0 / 475.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008089/0.1247, allocations: 300.8 kB / 475.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1248, allocations: 59.41 kB / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.125, allocations: 243.2 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.125, allocations: 29.7 kB / 476.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.1251, allocations: 124 kB / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1252, allocations: 39.59 kB / 476.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1252, allocations: 33.7 kB / 476.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1253, allocations: 330.9 kB / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.1254, allocations: 39.92 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/0.1255, allocations: 57.69 kB / 476.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1257, allocations: 108 kB / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1257, allocations: 0 / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002516/0.126, allocations: 153.5 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.126, allocations: 11 kB / 477.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.126, allocations: 0 / 477.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.126, allocations: 7.938 kB / 477.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.1261, allocations: 27.92 kB / 477.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1261, allocations: 0 / 477.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.1262, allocations: 8 kB / 477.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1262, allocations: 4 kB / 477.1 MB, free: 7.023 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 (16): * Single equations (assignments): 16 * 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.000108/0.1263, allocations: 133.8 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.1264, allocations: 19.72 kB / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.1264, allocations: 33.45 kB / 477.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1264, allocations: 3.938 kB / 477.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1264, allocations: 4 kB / 477.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1265, allocations: 0 / 477.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.127, allocations: 0.496 MB / 477.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.127, allocations: 0 / 477.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.1271, allocations: 24.77 kB / 477.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1271, allocations: 4.062 kB / 477.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1271, allocations: 8 kB / 477.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1271, allocations: 0 / 477.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1272, allocations: 7.984 kB / 477.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.1275, allocations: 253 kB / 478.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.1275, allocations: 96.91 kB / 478.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1275, allocations: 8 kB / 478.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.1276, allocations: 4 kB / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1277, allocations: 23.84 kB / 478.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1277, allocations: 4 kB / 478.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1279, allocations: 188.2 kB / 478.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1279, allocations: 0 / 478.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1281, allocations: 35.98 kB / 478.4 MB, free: 5.578 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 (14): * Single equations (assignments): 12 * 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.001122/0.1293, allocations: 0.5064 MB / 478.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1295, allocations: 111.8 kB / 479 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1295, allocations: 0 / 479 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.1296, allocations: 51.92 kB / 479.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.13, allocations: 35.95 kB / 479.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.1305, allocations: 328.4 kB / 479.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1307, allocations: 0.724 MB / 480.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.1308, allocations: 29.41 kB / 480.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.1309, allocations: 19.44 kB / 480.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1309, allocations: 0 / 480.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of Templates: time 0.005056/0.1359, allocations: 2.159 MB / 482.4 MB, free: 1.797 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches