Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.000868, allocations: 97.41 kB / 15.7 MB, free: 468 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.001084/0.001084, allocations: 172.6 kB / 16.58 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.4883/0.4883, allocations: 43.57 MB / 314.6 MB, free: 8.727 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.0005571/0.0005571, allocations: 12 kB / 384 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1443, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002054/0.1464, allocations: 1.36 MB / 444.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007082/0.1471, allocations: 327.7 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.1472, allocations: 0 / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.1474, allocations: 15.92 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.1476, allocations: 35.84 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1479, allocations: 111.7 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.148, allocations: 67.77 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1481, allocations: 16.22 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.1482, allocations: 23.86 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.1483, allocations: 31.84 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1483, allocations: 0 / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1484, allocations: 47.97 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.1485, allocations: 19.92 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.1486, allocations: 37.7 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1487, allocations: 80.08 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.1488, allocations: 4 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1488, allocations: 3.938 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1488, allocations: 0 / 445 MB, free: 10.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007032/0.1495, allocations: 411 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1496, allocations: 12.03 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.1496, allocations: 11.86 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1498, allocations: 190.9 kB / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1499, allocations: 0 / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1499, allocations: 4 kB / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1502, allocations: 107.3 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1502, allocations: 0 / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1502, allocations: 0 / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1502, allocations: 7.984 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.1505, allocations: 99.86 kB / 445.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.1509, allocations: 292.9 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1511, allocations: 78.47 kB / 446.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1513, allocations: 56.95 kB / 446.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1513, allocations: 3.984 kB / 446.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1513, allocations: 34.56 kB / 446.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.615e-06/0.1513, allocations: 3.984 kB / 446.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001453/0.1528, allocations: 472.9 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1529, allocations: 81.11 kB / 446.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.153, allocations: 141.4 kB / 446.9 MB, free: 8.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.153, allocations: 25.7 kB / 447 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.1531, allocations: 96.12 kB / 447.1 MB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1531, allocations: 39.55 kB / 447.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.1531, allocations: 4 kB / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1533, allocations: 322.8 kB / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.1535, allocations: 87.92 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.1538, allocations: 97.64 kB / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.154, allocations: 100.1 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.154, allocations: 0 / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005433/0.1546, allocations: 225.4 kB / 447.9 MB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1546, allocations: 4 kB / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1546, allocations: 7.938 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1546, allocations: 0 / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1548, allocations: 51.95 kB / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1549, allocations: 0 / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.155, allocations: 31.97 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.155, allocations: 4 kB / 448 MB, free: 7.559 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1551, allocations: 129.8 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1552, allocations: 11.86 kB / 448.2 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/0.1558, allocations: 242.2 kB / 448.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1558, allocations: 0 / 448.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1558, allocations: 0 / 448.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1558, allocations: 0 / 448.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.1567, allocations: 0.5061 MB / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1567, allocations: 0 / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1569, allocations: 47.95 kB / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1569, allocations: 0 / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.157, allocations: 4 kB / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.157, allocations: 4 kB / 449 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.157, allocations: 0 / 449 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.1576, allocations: 323.2 kB / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.1577, allocations: 96.95 kB / 449.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1577, allocations: 0 / 449.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.1579, allocations: 35.97 kB / 449.4 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.158, allocations: 7.984 kB / 449.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.158, allocations: 0 / 449.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1581, allocations: 119.2 kB / 449.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1581, allocations: 0 / 449.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1584, allocations: 28 kB / 449.5 MB, free: 5.922 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/0.1595, allocations: 459.5 kB / 450 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005961/0.1601, allocations: 187.8 kB / 450.2 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1602, allocations: 4 kB / 450.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.1604, allocations: 103.9 kB / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1608, allocations: 19.84 kB / 450.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.1613, allocations: 217 kB / 450.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1615, allocations: 0.7004 MB / 451.2 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.421e-05/0.1616, allocations: 16.66 kB / 451.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.1617, allocations: 19.44 kB / 451.3 MB, free: 4.195 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1617, allocations: 0 / 451.3 MB, free: 4.195 MB / 382.1 MB Notification: Performance of Templates: time 0.004352/0.1661, allocations: 1.79 MB / 453 MB, free: 2.406 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches