Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 202.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4423/0.4423, allocations: 43.5 MB / 313.5 MB, free: 8.23 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 71.91 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1501, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003309/0.1535, allocations: 1.672 MB / 441.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.1543, allocations: 343.5 kB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.1543, allocations: 0 / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1546, allocations: 59.86 kB / 441.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.1548, allocations: 47.88 kB / 441.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1552, allocations: 139.8 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1553, allocations: 75.75 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1555, allocations: 24.25 kB / 442.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.1555, allocations: 27.92 kB / 442.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1556, allocations: 43.83 kB / 442.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1557, allocations: 0 / 442.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.1558, allocations: 27.98 kB / 442.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.1558, allocations: 27.86 kB / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.1559, allocations: 35.73 kB / 442.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.1561, allocations: 91.7 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1561, allocations: 0 / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1561, allocations: 0 / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1561, allocations: 0 / 442.4 MB, free: 12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005535/0.1567, allocations: 395.1 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1567, allocations: 12.03 kB / 442.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1568, allocations: 8.844 kB / 442.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.157, allocations: 204.6 kB / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.157, allocations: 4.375 kB / 443 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1571, allocations: 7.938 kB / 443 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.1573, allocations: 65.55 kB / 443.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1573, allocations: 4 kB / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1573, allocations: 0 / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1573, allocations: 0 / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1575, allocations: 39.95 kB / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.158, allocations: 308.7 kB / 443.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1582, allocations: 50.5 kB / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.1582, allocations: 24.94 kB / 443.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1583, allocations: 4 kB / 443.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1583, allocations: 34.55 kB / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.1583, allocations: 3.984 kB / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008437/0.1592, allocations: 229.1 kB / 443.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.1592, allocations: 63.33 kB / 443.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1595, allocations: 178.3 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1595, allocations: 25.7 kB / 444 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1596, allocations: 104.1 kB / 444.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1596, allocations: 19.66 kB / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.1597, allocations: 21.72 kB / 444.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1598, allocations: 318.8 kB / 444.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.16, allocations: 47.95 kB / 444.5 MB, free: 9.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1601, allocations: 31.97 kB / 444.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.1603, allocations: 92.73 kB / 444.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1603, allocations: 0 / 444.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002776/0.1606, allocations: 121.8 kB / 444.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1606, allocations: 11.98 kB / 444.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1606, allocations: 80 / 444.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1607, allocations: 3.938 kB / 444.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1608, allocations: 23.98 kB / 444.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1608, allocations: 7.922 kB / 444.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.1609, allocations: 11.98 kB / 444.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1609, allocations: 4 kB / 444.8 MB, free: 9.344 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000105/0.161, allocations: 133.7 kB / 445 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.161, allocations: 11.81 kB / 445 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.1614, allocations: 134.3 kB / 445.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1614, allocations: 4 kB / 445.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1614, allocations: 3.938 kB / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1614, allocations: 7.984 kB / 445.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.162, allocations: 406.4 kB / 445.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.162, allocations: 0 / 445.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.1621, allocations: 23.98 kB / 445.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1621, allocations: 3.938 kB / 445.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1621, allocations: 0 / 445.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1621, allocations: 7.938 kB / 445.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1621, allocations: 4 kB / 445.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.1624, allocations: 219.3 kB / 445.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1625, allocations: 84.95 kB / 445.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1625, allocations: 0 / 445.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.1626, allocations: 15.98 kB / 445.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.1626, allocations: 7.984 kB / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.1627, allocations: 4 kB / 445.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1628, allocations: 131.2 kB / 446 MB, free: 8.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1628, allocations: 4 kB / 446 MB, free: 8.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.163, allocations: 16 kB / 446 MB, free: 8.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000964/0.164, allocations: 406.1 kB / 446.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.1643, allocations: 95.86 kB / 446.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1643, allocations: 3.938 kB / 446.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1645, allocations: 43.97 kB / 446.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1649, allocations: 19.98 kB / 446.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.1653, allocations: 272 kB / 446.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1657, allocations: 0.7083 MB / 447.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.701e-05/0.1657, allocations: 24.28 kB / 447.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.1658, allocations: 15.42 kB / 447.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1658, allocations: 0 / 447.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of Templates: time 0.004065/0.1699, allocations: 1.188 MB / 448.8 MB, free: 5.258 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches