Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 95.92 kB / 17.35 MB, free: 6.344 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.001725/0.001725, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.511/1.511, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2121/0.2121, allocations: 44.25 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1483, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002852/0.1513, allocations: 1.29 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.1522, allocations: 391.4 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.1523, allocations: 4 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.1526, allocations: 75.83 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.1528, allocations: 51.81 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1531, allocations: 79.84 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1532, allocations: 67.81 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1533, allocations: 16.17 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.688e-05/0.1534, allocations: 35.8 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1535, allocations: 51.88 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1536, allocations: 4 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.1537, allocations: 35.98 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.1537, allocations: 23.91 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.1538, allocations: 49.45 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.154, allocations: 91.98 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.154, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.154, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.154, allocations: 4 kB / 474.5 MB, free: 11.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004967/0.1545, allocations: 397.4 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1546, allocations: 12.03 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1546, allocations: 20.66 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1548, allocations: 196.1 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1549, allocations: 384 / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1549, allocations: 384 / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1551, allocations: 65.61 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1552, allocations: 3.906 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1552, allocations: 4 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1552, allocations: 4 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1553, allocations: 23.98 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.1558, allocations: 296.8 kB / 475.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.156, allocations: 46.56 kB / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.1561, allocations: 24.94 kB / 475.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.1561, allocations: 0 / 475.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.1562, allocations: 30.56 kB / 475.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1562, allocations: 3.938 kB / 475.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001217/0.1574, allocations: 249.5 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.1575, allocations: 55.41 kB / 475.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.1578, allocations: 210.1 kB / 476.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.1579, allocations: 29.7 kB / 476.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.158, allocations: 104 kB / 476.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.1581, allocations: 23.66 kB / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1581, allocations: 17.7 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1583, allocations: 322.8 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.1584, allocations: 31.97 kB / 476.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.1585, allocations: 28.05 kB / 476.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1586, allocations: 77.05 kB / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1587, allocations: 0 / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002191/0.1589, allocations: 109.4 kB / 476.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1589, allocations: 6.5 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1589, allocations: 8 kB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.159, allocations: 0 / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1591, allocations: 23.92 kB / 476.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1591, allocations: 3.938 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.1592, allocations: 7.984 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1592, allocations: 4 kB / 476.9 MB, free: 8.457 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0001158/0.1593, allocations: 122.4 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1593, allocations: 15.89 kB / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.1596, allocations: 126.3 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1596, allocations: 4 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1597, allocations: 3.938 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1597, allocations: 0 / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.1602, allocations: 411.2 kB / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1602, allocations: 7.938 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.1603, allocations: 19.92 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1603, allocations: 8.031 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1603, allocations: 0 / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1603, allocations: 0 / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1603, allocations: 0 / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1606, allocations: 216.2 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.1607, allocations: 92.95 kB / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1607, allocations: 7.984 kB / 477.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.1608, allocations: 8 kB / 477.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1609, allocations: 7.984 kB / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1609, allocations: 4 kB / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.161, allocations: 151.2 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.161, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1613, allocations: 28 kB / 478.1 MB, free: 7.137 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001117/0.1624, allocations: 454.4 kB / 478.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.1626, allocations: 79.94 kB / 478.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1626, allocations: 0 / 478.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.1627, allocations: 39.91 kB / 478.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1631, allocations: 26.91 kB / 478.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.1636, allocations: 274.4 kB / 479 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.164, allocations: 0.7043 MB / 479.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.164, allocations: 12.66 kB / 479.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.1641, allocations: 11.44 kB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1641, allocations: 0 / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of Templates: time 0.003983/0.1681, allocations: 1.262 MB / 480.9 MB, free: 4.41 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches