Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008745/0.0008746, allocations: 93.31 kB / 18 MB, free: 5.602 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.0009893/0.0009895, allocations: 179.7 kB / 18.91 MB, free: 4.734 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.486/1.486, allocations: 223.3 MB / 243 MB, free: 14.29 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.2137/0.2137, allocations: 44.25 MB / 338.3 MB, free: 2.379 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 15.94 kB / 411 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1274, allocations: 61.92 MB / 472.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002388/0.1298, allocations: 1.41 MB / 474.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1314, allocations: 0.8499 MB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1315, allocations: 3.938 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1319, allocations: 31.89 kB / 475.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.1321, allocations: 51.83 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1325, allocations: 91.72 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1327, allocations: 95.69 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1328, allocations: 8.234 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.133, allocations: 39.78 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.1331, allocations: 27.84 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1331, allocations: 4 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1332, allocations: 39.98 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.1333, allocations: 23.86 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.1334, allocations: 61.42 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1336, allocations: 84.09 kB / 475.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1336, allocations: 0 / 475.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1336, allocations: 4 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1336, allocations: 0 / 475.7 MB, free: 10.43 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.0005866/0.1342, allocations: 391.2 kB / 476.1 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1343, allocations: 12.03 kB / 476.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.1343, allocations: 12.83 kB / 476.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.1346, allocations: 208 kB / 476.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1346, allocations: 4.312 kB / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1347, allocations: 16.06 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1348, allocations: 53.67 kB / 476.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1349, allocations: 4 kB / 476.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1349, allocations: 3.984 kB / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1349, allocations: 0 / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.135, allocations: 19.98 kB / 476.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.1354, allocations: 284.9 kB / 476.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1356, allocations: 62.62 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1357, allocations: 20.84 kB / 476.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1357, allocations: 0 / 476.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1359, allocations: 75.39 kB / 476.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1359, allocations: 0 / 476.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005668/0.1365, allocations: 169.2 kB / 477 MB, free: 8.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1365, allocations: 55.41 kB / 477.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1367, allocations: 190.2 kB / 477.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1368, allocations: 25.7 kB / 477.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.1368, allocations: 96.14 kB / 477.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1369, allocations: 27.64 kB / 477.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1369, allocations: 17.72 kB / 477.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1371, allocations: 326.7 kB / 477.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.1371, allocations: 23.98 kB / 477.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.1372, allocations: 41.7 kB / 477.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1373, allocations: 53.7 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1373, allocations: 0 / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.1375, allocations: 105.4 kB / 478 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1376, allocations: 8 kB / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1376, allocations: 0 / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1376, allocations: 4.031 kB / 478 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1377, allocations: 19.98 kB / 478 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1377, allocations: 160 / 478 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.1378, allocations: 7.875 kB / 478 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1378, allocations: 11.98 kB / 478 MB, free: 7.895 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.0001015/0.1379, allocations: 121.8 kB / 478.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1379, allocations: 11.91 kB / 478.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.138, allocations: 12.72 kB / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.138, allocations: 192 / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.138, allocations: 7.938 kB / 478.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.138, allocations: 7.875 kB / 478.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.1385, allocations: 395.3 kB / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1385, allocations: 0 / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.1385, allocations: 8 kB / 478.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1385, allocations: 0 / 478.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1385, allocations: 7.938 kB / 478.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1386, allocations: 0 / 478.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1386, allocations: 4.031 kB / 478.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1388, allocations: 204.1 kB / 478.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.1389, allocations: 89 kB / 478.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1389, allocations: 7.938 kB / 478.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.139, allocations: 4.375 kB / 478.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.139, allocations: 15.97 kB / 478.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1391, allocations: 4 kB / 478.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1392, allocations: 147.2 kB / 479.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1392, allocations: 0 / 479.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1395, allocations: 20 kB / 479.1 MB, free: 6.738 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.001093/0.1406, allocations: 473.3 kB / 479.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1408, allocations: 55.91 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1408, allocations: 8 kB / 479.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/0.1408, allocations: 31.91 kB / 479.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1412, allocations: 23.98 kB / 479.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.1417, allocations: 268.2 kB / 479.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1421, allocations: 0.7081 MB / 480.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.1422, allocations: 27.42 kB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1422, allocations: 0 / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of Templates: time 0.004261/0.1464, allocations: 1.882 MB / 482.5 MB, free: 3.402 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches