Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.00113/0.00113, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.348/1.348, allocations: 222.9 MB / 243 MB, free: 15.14 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.2094/0.2094, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 72.66 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1175, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00359/0.1211, allocations: 1.886 MB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1228, allocations: 0.9899 MB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.123, allocations: 7.938 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.1233, allocations: 151.5 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.1237, allocations: 135.5 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1242, allocations: 182.6 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.1245, allocations: 223.3 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1247, allocations: 33.66 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1248, allocations: 111.5 kB / 474.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.125, allocations: 123.6 kB / 474.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.1251, allocations: 8 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1252, allocations: 67.95 kB / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.1253, allocations: 47.84 kB / 474.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.864e-05/0.1254, allocations: 83.34 kB / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1257, allocations: 211.3 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1257, allocations: 0 / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1257, allocations: 0 / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1257, allocations: 0 / 474.9 MB, free: 9.371 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007021/0.1264, allocations: 0.5332 MB / 475.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1264, allocations: 8.031 kB / 475.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.1265, allocations: 24.66 kB / 475.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1269, allocations: 271.6 kB / 475.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.127, allocations: 8.375 kB / 475.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.127, allocations: 12.12 kB / 475.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.1273, allocations: 112.8 kB / 475.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1273, allocations: 0 / 475.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1273, allocations: 4 kB / 475.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1273, allocations: 4 kB / 475.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1275, allocations: 43.97 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.128, allocations: 468.7 kB / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.1284, allocations: 125.2 kB / 476.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1286, allocations: 49.77 kB / 476.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1286, allocations: 0 / 476.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.1288, allocations: 117.1 kB / 476.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1288, allocations: 4 kB / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001283/0.1301, allocations: 496.9 kB / 477.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1302, allocations: 81.11 kB / 477.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.1305, allocations: 351 kB / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1306, allocations: 33.7 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.1307, allocations: 144.5 kB / 477.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.1307, allocations: 71.09 kB / 477.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.1308, allocations: 41.7 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1309, allocations: 338.8 kB / 478.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1311, allocations: 59.97 kB / 478.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.1312, allocations: 91.34 kB / 478.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1315, allocations: 167.4 kB / 478.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1315, allocations: 0 / 478.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003922/0.1319, allocations: 229.1 kB / 478.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1319, allocations: 11.94 kB / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1319, allocations: 3.984 kB / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.132, allocations: 0 / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1321, allocations: 51.98 kB / 478.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1321, allocations: 0 / 478.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.1322, allocations: 8 kB / 478.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1323, allocations: 11.98 kB / 478.8 MB, free: 5.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001333/0.1324, allocations: 153.8 kB / 479 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.1324, allocations: 39.5 kB / 479 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.1326, allocations: 33.73 kB / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1326, allocations: 4 kB / 479.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1326, allocations: 0 / 479.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1326, allocations: 7.984 kB / 479.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008633/0.1335, allocations: 0.7078 MB / 479.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1335, allocations: 96 / 479.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.1336, allocations: 39.86 kB / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1336, allocations: 8.125 kB / 479.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1336, allocations: 7.984 kB / 479.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.1336, allocations: 4 kB / 479.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1336, allocations: 0 / 479.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.1341, allocations: 419.2 kB / 480.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.1342, allocations: 100.8 kB / 480.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.1342, allocations: 11.94 kB / 480.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1344, allocations: 7.984 kB / 480.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.1344, allocations: 19.92 kB / 480.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1344, allocations: 8 kB / 480.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.1347, allocations: 269.9 kB / 480.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1347, allocations: 0 / 480.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.1351, allocations: 55.89 kB / 480.7 MB, free: 3.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001133/0.1362, allocations: 0.4996 MB / 481.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.1366, allocations: 159.8 kB / 481.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1366, allocations: 0 / 481.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1367, allocations: 91.95 kB / 481.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.1373, allocations: 70.61 kB / 481.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.138, allocations: 488.8 kB / 482 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1384, allocations: 0.7558 MB / 482.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.1385, allocations: 41.92 kB / 482.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.1386, allocations: 31.42 kB / 482.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1386, allocations: 384 / 482.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of Templates: time 0.006632/0.1452, allocations: 3.069 MB / 485.9 MB, free: 14.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches