Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 95.05 kB / 17 MB, free: 6.797 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.001196/0.001196, allocations: 182.6 kB / 17.89 MB, free: 6.055 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.443/1.443, allocations: 223.3 MB / 241.9 MB, free: 296 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.2296/0.2296, allocations: 44.26 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004099, allocations: 12 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1442, allocations: 61.91 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002111/0.1463, allocations: 1.345 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.1471, allocations: 419.5 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.1471, allocations: 0 / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.1473, allocations: 11.94 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1475, allocations: 43.83 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1478, allocations: 123 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.148, allocations: 63.78 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1481, allocations: 20.2 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.1482, allocations: 31.86 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.1482, allocations: 35.83 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1483, allocations: 4 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.1484, allocations: 43.92 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1484, allocations: 15.97 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.1485, allocations: 37.64 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1486, allocations: 76.16 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1487, allocations: 4 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1487, allocations: 3.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1487, allocations: 0 / 473.9 MB, free: 11.41 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.0007204/0.1494, allocations: 415 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1495, allocations: 8.562 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.1495, allocations: 15.84 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1498, allocations: 190.9 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1498, allocations: 7.938 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1498, allocations: 4 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1501, allocations: 103.3 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1501, allocations: 0 / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1501, allocations: 4 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1501, allocations: 4 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.1504, allocations: 91.86 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1509, allocations: 308.7 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1512, allocations: 74.53 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.1513, allocations: 64.94 kB / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1514, allocations: 8 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1514, allocations: 30.56 kB / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1514, allocations: 0 / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001621/0.153, allocations: 472.9 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1531, allocations: 77.11 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1533, allocations: 148.4 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1533, allocations: 25.7 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.1534, allocations: 96.33 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1534, allocations: 31.55 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.1535, allocations: 0 / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1536, allocations: 326.8 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.1539, allocations: 87.92 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.1542, allocations: 109.6 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.1545, allocations: 100.2 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1545, allocations: 4 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000585/0.1551, allocations: 237.3 kB / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1551, allocations: 8 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1551, allocations: 0 / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1551, allocations: 0 / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.1553, allocations: 51.95 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1553, allocations: 0 / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.1555, allocations: 35.97 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.1555, allocations: 0 / 476.9 MB, free: 8.102 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 (10): * Single equations (assignments): 10 * 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.0001068/0.1556, allocations: 129.8 kB / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.1557, allocations: 7.906 kB / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006297/0.1563, allocations: 246.1 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1563, allocations: 8 kB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1564, allocations: 0 / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1564, allocations: 0 / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.1573, allocations: 0.5256 MB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1573, allocations: 0 / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.1575, allocations: 55.95 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1575, allocations: 0 / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1575, allocations: 384 / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1575, allocations: 0 / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.1575, allocations: 7.953 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.1582, allocations: 331.4 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.1582, allocations: 93 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1582, allocations: 0 / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1584, allocations: 35.97 kB / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.1585, allocations: 15.97 kB / 478.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1585, allocations: 7.953 kB / 478.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.698e-05/0.1586, allocations: 106.2 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1586, allocations: 0 / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1589, allocations: 39.98 kB / 478.5 MB, free: 6.41 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 (9): * Single equations (assignments): 9 * 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.001114/0.16, allocations: 450.4 kB / 479 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006143/0.1606, allocations: 203.8 kB / 479.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1607, allocations: 0 / 479.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.161, allocations: 99.92 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1613, allocations: 23.97 kB / 479.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.1618, allocations: 225.4 kB / 479.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1622, allocations: 0.7082 MB / 480.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.512e-05/0.1623, allocations: 8.438 kB / 480.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.1623, allocations: 19.42 kB / 480.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1623, allocations: 4 kB / 480.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of Templates: time 0.005324/0.1676, allocations: 1.858 MB / 482.1 MB, free: 2.961 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches