Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.000896, allocations: 92.3 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.001247/0.001247, allocations: 180 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.495/1.495, allocations: 223.3 MB / 243 MB, free: 32 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.25 MB / 338.3 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002238/0.1331, allocations: 1.417 MB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1347, allocations: 0.8421 MB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.1348, allocations: 3.938 kB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1351, allocations: 23.91 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.1353, allocations: 47.83 kB / 475.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.1357, allocations: 95.77 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1359, allocations: 95.69 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.136, allocations: 12.23 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.1361, allocations: 35.78 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.1362, allocations: 31.84 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1362, allocations: 0 / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1363, allocations: 43.92 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1364, allocations: 15.92 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.1365, allocations: 61.48 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1366, allocations: 80.11 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1366, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1367, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1367, allocations: 0 / 475.7 MB, free: 10.52 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.0005113/0.1372, allocations: 383.2 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1372, allocations: 12.03 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.1373, allocations: 8.844 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1375, allocations: 208.6 kB / 476.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1376, allocations: 11.94 kB / 476.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1376, allocations: 7.938 kB / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1378, allocations: 57.67 kB / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1378, allocations: 0 / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1378, allocations: 0 / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1378, allocations: 4 kB / 476.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.1379, allocations: 15.98 kB / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.1382, allocations: 280.9 kB / 476.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1384, allocations: 62.61 kB / 476.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.1385, allocations: 16.86 kB / 476.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1385, allocations: 4 kB / 476.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.1387, allocations: 67.39 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1387, allocations: 0 / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005391/0.1393, allocations: 181.1 kB / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1393, allocations: 55.34 kB / 477.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1395, allocations: 159.7 kB / 477.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.1395, allocations: 29.7 kB / 477.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.1396, allocations: 96.12 kB / 477.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1396, allocations: 31.58 kB / 477.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.1396, allocations: 17.7 kB / 477.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1398, allocations: 322.8 kB / 477.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.1398, allocations: 27.94 kB / 477.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.1399, allocations: 33.7 kB / 477.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.14, allocations: 57.7 kB / 477.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.14, allocations: 0 / 477.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.1402, allocations: 97.53 kB / 477.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1403, allocations: 4 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1403, allocations: 8.031 kB / 477.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1403, allocations: 7.922 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.1404, allocations: 12 kB / 477.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1404, allocations: 4.094 kB / 478 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1405, allocations: 4 kB / 478 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.1405, allocations: 11.98 kB / 478 MB, free: 8.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 (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.0001105/0.1406, allocations: 117.8 kB / 478.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.1406, allocations: 11.91 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1407, allocations: 20.66 kB / 478.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1407, allocations: 3.984 kB / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1407, allocations: 192 / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1407, allocations: 0 / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.1411, allocations: 399.1 kB / 478.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1412, allocations: 0 / 478.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.1412, allocations: 8 kB / 478.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1412, allocations: 4.375 kB / 478.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1412, allocations: 4.031 kB / 478.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.1412, allocations: 4 kB / 478.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1412, allocations: 0 / 478.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1415, allocations: 204.2 kB / 478.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.1415, allocations: 89 kB / 478.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1416, allocations: 0 / 478.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.1416, allocations: 15.98 kB / 478.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1417, allocations: 7.984 kB / 478.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1417, allocations: 4 kB / 478.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.357e-05/0.1418, allocations: 121.7 kB / 479 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1418, allocations: 0 / 479 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1421, allocations: 27.98 kB / 479 MB, free: 6.895 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.001053/0.1431, allocations: 465.4 kB / 479.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1433, allocations: 67.84 kB / 479.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1433, allocations: 0 / 479.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.1434, allocations: 31.92 kB / 479.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1438, allocations: 24.09 kB / 479.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.1442, allocations: 247.7 kB / 479.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1445, allocations: 0.7082 MB / 480.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.1446, allocations: 19.38 kB / 480.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1446, allocations: 0 / 480.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of Templates: time 0.003798/0.1484, allocations: 1.855 MB / 482.4 MB, free: 3.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches