Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001291/0.001291, allocations: 194 kB / 18.12 MB, free: 5.383 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.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2304/0.2304, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.98 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 60.82 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.0033/0.1322, allocations: 1.765 MB / 470.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1341, allocations: 0.8576 MB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.1342, allocations: 11.94 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.1345, allocations: 75.83 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1347, allocations: 63.73 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.135, allocations: 95.83 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1352, allocations: 99.69 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1353, allocations: 28.19 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.1354, allocations: 43.78 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1355, allocations: 55.77 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1355, allocations: 4 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.782e-05/0.1356, allocations: 35.98 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.1357, allocations: 27.89 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.1357, allocations: 31.75 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.1359, allocations: 115.9 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1359, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1359, allocations: 3.938 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1359, allocations: 4 kB / 471.8 MB, free: 11.54 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.0005984/0.1365, allocations: 421.5 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1366, allocations: 12.03 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1366, allocations: 8.844 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1369, allocations: 208 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.137, allocations: 4.375 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.137, allocations: 8.125 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1372, allocations: 53.67 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1372, allocations: 4 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1372, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1372, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.607e-05/0.1373, allocations: 23.92 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1377, allocations: 288.9 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1379, allocations: 54.67 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.138, allocations: 28.84 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.138, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.1382, allocations: 71.33 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1382, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006265/0.1389, allocations: 177.1 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1389, allocations: 51.41 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.1392, allocations: 227.3 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1392, allocations: 29.7 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.1393, allocations: 104.1 kB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.1394, allocations: 27.64 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1394, allocations: 21.72 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1396, allocations: 326.8 kB / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.1396, allocations: 19.98 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.1397, allocations: 45.64 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1399, allocations: 61.64 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1399, allocations: 0 / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.1401, allocations: 97.58 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1401, allocations: 6.188 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1401, allocations: 3.938 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1401, allocations: 0 / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1403, allocations: 24.02 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1403, allocations: 0 / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.1403, allocations: 11.94 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1404, allocations: 0 / 474.2 MB, free: 8.934 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.0001203/0.1405, allocations: 128.9 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1405, allocations: 11.81 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.1406, allocations: 21.41 kB / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1406, allocations: 0 / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1406, allocations: 0 / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1406, allocations: 11.92 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.1411, allocations: 391.3 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1412, allocations: 4 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.1412, allocations: 11.94 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1412, allocations: 0 / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1412, allocations: 3.938 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1412, allocations: 0 / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1413, allocations: 7.984 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.1415, allocations: 208.6 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1416, allocations: 85.02 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1416, allocations: 3.938 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.1417, allocations: 4 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.1418, allocations: 11.98 kB / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1418, allocations: 7.938 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.142, allocations: 159.2 kB / 475.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.142, allocations: 3.938 kB / 475.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1422, allocations: 31.98 kB / 475.3 MB, free: 7.746 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.001153/0.1434, allocations: 460.5 kB / 475.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1436, allocations: 55.98 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1436, allocations: 3.938 kB / 475.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.1437, allocations: 31.97 kB / 475.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1441, allocations: 27.97 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.1446, allocations: 268.8 kB / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.145, allocations: 0.712 MB / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.1451, allocations: 16.88 kB / 476.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.1451, allocations: 15.44 kB / 476.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1451, allocations: 0 / 476.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of Templates: time 0.005135/0.1502, allocations: 1.653 MB / 478.5 MB, free: 4.656 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches