Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001179/0.001179, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.429/1.429, allocations: 222.9 MB / 243 MB, free: 15.13 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.2251/0.2251, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 64.52 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1494, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004179/0.1537, allocations: 1.564 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009239/0.1546, allocations: 419.2 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.1547, allocations: 7.938 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.155, allocations: 27.84 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.1553, allocations: 31.84 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1557, allocations: 91.45 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1559, allocations: 63.83 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.156, allocations: 16.17 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.1561, allocations: 19.92 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.1562, allocations: 31.78 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1562, allocations: 8 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.1564, allocations: 51.98 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.1564, allocations: 19.91 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.1565, allocations: 19.88 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1567, allocations: 99.69 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.799e-05/0.1568, allocations: 4 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1568, allocations: 0 / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1568, allocations: 3.938 kB / 473.2 MB, free: 11.17 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000546/0.1573, allocations: 383.2 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1574, allocations: 16.03 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.1574, allocations: 12.84 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1577, allocations: 184.3 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1577, allocations: 384 / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1577, allocations: 4.375 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1579, allocations: 67.33 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1579, allocations: 0 / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.158, allocations: 3.984 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.158, allocations: 11.94 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1581, allocations: 31.92 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.1586, allocations: 292.8 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1587, allocations: 54.56 kB / 474.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.1588, allocations: 24.97 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1588, allocations: 7.938 kB / 474.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1589, allocations: 30.56 kB / 474.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1589, allocations: 0 / 474.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000658/0.1595, allocations: 189.4 kB / 474.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.1596, allocations: 81.09 kB / 474.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1598, allocations: 144.1 kB / 474.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1598, allocations: 29.7 kB / 474.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.1599, allocations: 88.14 kB / 474.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.1599, allocations: 27.64 kB / 474.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.16, allocations: 21.72 kB / 474.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1601, allocations: 322.8 kB / 475.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.1602, allocations: 27.98 kB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/0.1603, allocations: 53.81 kB / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1605, allocations: 80.88 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1605, allocations: 0 / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00022/0.1607, allocations: 109.5 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1607, allocations: 8 kB / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1608, allocations: 0 / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1608, allocations: 0 / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1609, allocations: 24.02 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1609, allocations: 0 / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.161, allocations: 8 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.161, allocations: 3.938 kB / 475.5 MB, free: 8.629 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 (9): * Single equations (assignments): 9 * 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 9.551e-05/0.1611, allocations: 121.8 kB / 475.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.1611, allocations: 7.906 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1614, allocations: 114.2 kB / 475.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1614, allocations: 8 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1614, allocations: 0 / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1614, allocations: 0 / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1619, allocations: 394.4 kB / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1619, allocations: 3.938 kB / 476.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.162, allocations: 15.98 kB / 476.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.162, allocations: 0 / 476.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.162, allocations: 7.938 kB / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.162, allocations: 4 kB / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.162, allocations: 240 / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1623, allocations: 207.3 kB / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.1623, allocations: 81.02 kB / 476.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1623, allocations: 3.938 kB / 476.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.1624, allocations: 7.984 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1625, allocations: 8 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.1625, allocations: 4 kB / 476.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.818e-05/0.1626, allocations: 116.2 kB / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1626, allocations: 0 / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1628, allocations: 28 kB / 476.6 MB, free: 7.414 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 (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.00109/0.1639, allocations: 451.9 kB / 477 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.1642, allocations: 75.89 kB / 477.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1642, allocations: 0 / 477.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.1643, allocations: 31.98 kB / 477.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1647, allocations: 27.64 kB / 477.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.1652, allocations: 185.9 kB / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1654, allocations: 0.6885 MB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.766e-05/0.1655, allocations: 24.73 kB / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.1656, allocations: 19.42 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1656, allocations: 4 kB / 478.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Templates: time 0.004661/0.1703, allocations: 1.57 MB / 479.6 MB, free: 4.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches