Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 106.4 kB / 17.2 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.001185/0.001185, 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.516/1.516, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2038/0.2038, allocations: 44.17 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 68.61 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1478, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003265/0.1511, allocations: 1.68 MB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.153, allocations: 1.043 MB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.1531, allocations: 3.938 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.1533, allocations: 11.92 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.1535, allocations: 39.91 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1538, allocations: 165.5 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.154, allocations: 59.84 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.1541, allocations: 23.97 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.1541, allocations: 27.86 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1543, allocations: 23.86 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1543, allocations: 7.984 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1544, allocations: 51.97 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.1545, allocations: 11.94 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.1545, allocations: 27.84 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1547, allocations: 96.05 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1547, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1547, allocations: 3.938 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1547, allocations: 0 / 471.8 MB, free: 11.57 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.0004646/0.1552, allocations: 391.2 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1552, allocations: 12.03 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1553, allocations: 4.844 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1554, allocations: 192.2 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.1555, allocations: 8.375 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1555, allocations: 384 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1557, allocations: 79.52 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1557, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1557, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1557, allocations: 4 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1559, allocations: 43.89 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1563, allocations: 300.7 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1565, allocations: 46.55 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.1565, allocations: 24.94 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1566, allocations: 7.938 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1566, allocations: 34.56 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1566, allocations: 0 / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007181/0.1573, allocations: 229.2 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.1574, allocations: 81.11 kB / 473.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1575, allocations: 133.8 kB / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1575, allocations: 33.64 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.1576, allocations: 88.12 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1576, allocations: 23.66 kB / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1577, allocations: 25.7 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.1578, allocations: 318.8 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1579, allocations: 47.95 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.158, allocations: 53.62 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1582, allocations: 84.8 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1583, allocations: 0 / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002672/0.1585, allocations: 133.5 kB / 474.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1585, allocations: 4 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1586, allocations: 0 / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1586, allocations: 0 / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1587, allocations: 19.98 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1587, allocations: 320 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.1588, allocations: 11.92 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1588, allocations: 8 kB / 474.2 MB, free: 8.938 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 (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 8.258e-05/0.1589, allocations: 118.4 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1589, allocations: 7.906 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.1592, allocations: 145.9 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1592, allocations: 0 / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1592, allocations: 0 / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1593, allocations: 11.94 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.1598, allocations: 398.5 kB / 474.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1598, allocations: 3.938 kB / 474.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.1599, allocations: 23.98 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1599, allocations: 0 / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1599, allocations: 3.938 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1599, allocations: 4 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1599, allocations: 0 / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.1602, allocations: 215.4 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.1603, allocations: 85.02 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1603, allocations: 4.219 kB / 475.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1604, allocations: 11.98 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1604, allocations: 11.98 kB / 475.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1604, allocations: 7.938 kB / 475.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.1605, allocations: 109.5 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1605, allocations: 0 / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1608, allocations: 24 kB / 475.3 MB, free: 7.672 MB / 350.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.0009218/0.1617, allocations: 451.5 kB / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.162, allocations: 87.92 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.162, allocations: 4 kB / 475.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1621, allocations: 51.91 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1625, allocations: 15.98 kB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.163, allocations: 220.1 kB / 476.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1633, allocations: 0.7043 MB / 476.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.1634, allocations: 19.94 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1635, allocations: 15.42 kB / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1635, allocations: 0 / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004111/0.1676, allocations: 1.463 MB / 478.3 MB, free: 4.773 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches