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.001768/0.001768, allocations: 111.1 kB / 17.04 MB, free: 6.027 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.001991/0.001991, allocations: 194.9 kB / 17.97 MB, free: 5.113 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.578/1.578, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2265/0.2265, allocations: 43.53 MB / 314.7 MB, free: 460 kB / 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.001948/0.001949, allocations: 71.02 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1453, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003419/0.1488, allocations: 1.639 MB / 443.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006512/0.1495, allocations: 355.4 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.1495, allocations: 0 / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1498, allocations: 23.84 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.15, allocations: 47.66 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1504, allocations: 127.3 kB / 444.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1505, allocations: 71.77 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1507, allocations: 20.17 kB / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.1507, allocations: 35.84 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.1508, allocations: 43.83 kB / 444.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1509, allocations: 4 kB / 444.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.151, allocations: 47.98 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.1511, allocations: 27.91 kB / 444.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1511, allocations: 31.73 kB / 444.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1514, allocations: 115.7 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1514, allocations: 0 / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1514, allocations: 0 / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.1514, allocations: 0 / 444.6 MB, free: 3.531 MB / 318.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.0006271/0.152, allocations: 411.2 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1521, allocations: 12.03 kB / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.1521, allocations: 16.75 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.1523, allocations: 192.2 kB / 445.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1523, allocations: 4.312 kB / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1524, allocations: 4.375 kB / 445.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1526, allocations: 99.48 kB / 445.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1527, allocations: 0 / 445.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1527, allocations: 0 / 445.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1527, allocations: 0 / 445.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.153, allocations: 75.91 kB / 445.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1533, allocations: 308.6 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1535, allocations: 66.53 kB / 445.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1537, allocations: 44.89 kB / 445.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1537, allocations: 0 / 445.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1537, allocations: 34.56 kB / 445.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.1538, allocations: 4 kB / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001362/0.1551, allocations: 364.9 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1552, allocations: 77.11 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1553, allocations: 153.3 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1553, allocations: 25.7 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.1554, allocations: 100.1 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.1554, allocations: 31.56 kB / 446.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.1555, allocations: 25.7 kB / 446.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.1556, allocations: 314.8 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.1558, allocations: 71.92 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.156, allocations: 77.64 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.1564, allocations: 149 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1564, allocations: 4 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004824/0.1569, allocations: 177.5 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.157, allocations: 4 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.157, allocations: 0 / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.157, allocations: 0 / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.1572, allocations: 39.89 kB / 447.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1572, allocations: 0 / 447.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.1573, allocations: 35.91 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1574, allocations: 0 / 447.4 MB, free: 440 kB / 318.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 7.476e-05/0.1574, allocations: 121.8 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1575, allocations: 7.906 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.158, allocations: 202.2 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1581, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1581, allocations: 7.984 kB / 447.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1581, allocations: 8.297 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.1589, allocations: 466.4 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1589, allocations: 4 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.1591, allocations: 31.97 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1591, allocations: 3.984 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.1592, allocations: 11.88 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1592, allocations: 7.938 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1592, allocations: 0 / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.1598, allocations: 279.2 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1598, allocations: 77.11 kB / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1599, allocations: 7.938 kB / 448.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.16, allocations: 27.95 kB / 448.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.1601, allocations: 11.98 kB / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1601, allocations: 0 / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.674e-05/0.1602, allocations: 111.2 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1602, allocations: 0 / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1605, allocations: 35.98 kB / 448.8 MB, free: 14.93 MB / 334.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 (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.001171/0.1617, allocations: 455.8 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.1623, allocations: 147.8 kB / 449.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1623, allocations: 0 / 449.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.1626, allocations: 83.86 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.163, allocations: 25.12 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.1635, allocations: 190.3 kB / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.1638, allocations: 0.6963 MB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.1639, allocations: 20.95 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.164, allocations: 19.42 kB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.164, allocations: 4 kB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Templates: time 0.005735/0.1697, allocations: 2.015 MB / 452.4 MB, free: 11.33 MB / 334.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches