Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 102.6 kB / 16.02 MB, free: 76 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.001871/0.001871, allocations: 183.2 kB / 16.92 MB, free: 6.918 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.025/2.025, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.432/0.432, allocations: 43.57 MB / 315 MB, free: 8.777 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.0005045/0.0005045, allocations: 16.47 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1557, allocations: 58.87 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002118/0.1578, allocations: 1.29 MB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.1586, allocations: 299.7 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.1586, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.1592, allocations: 451.2 kB / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.1595, allocations: 239.5 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1598, allocations: 107.8 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.16, allocations: 139.8 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1601, allocations: 15.92 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1602, allocations: 99.78 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1605, allocations: 199.6 kB / 446.3 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1605, allocations: 4 kB / 446.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.1606, allocations: 12 kB / 446.3 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1607, allocations: 83.62 kB / 446.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.978e-05/0.1608, allocations: 128.7 kB / 446.5 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.161, allocations: 219.1 kB / 446.7 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.161, allocations: 4 kB / 446.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1611, allocations: 4 kB / 446.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1611, allocations: 0 / 446.7 MB, free: 9.395 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008082/0.1619, allocations: 0.5836 MB / 447.3 MB, free: 8.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1619, allocations: 8.031 kB / 447.3 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.162, allocations: 40.38 kB / 447.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.1623, allocations: 296.1 kB / 447.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1623, allocations: 4.375 kB / 447.6 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1624, allocations: 4.312 kB / 447.6 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1625, allocations: 57.81 kB / 447.7 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1625, allocations: 0 / 447.7 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1626, allocations: 0 / 447.7 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1626, allocations: 0 / 447.7 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.1627, allocations: 23.98 kB / 447.7 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.1632, allocations: 368.8 kB / 448.1 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/0.1633, allocations: 38.5 kB / 448.1 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.1633, allocations: 20.91 kB / 448.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1634, allocations: 0 / 448.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1634, allocations: 34.56 kB / 448.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1634, allocations: 0 / 448.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002767/0.1637, allocations: 109 kB / 448.3 MB, free: 7.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1637, allocations: 51.41 kB / 448.3 MB, free: 7.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.1646, allocations: 0.8613 MB / 449.2 MB, free: 6.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1646, allocations: 25.7 kB / 449.2 MB, free: 6.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1648, allocations: 216.1 kB / 449.4 MB, free: 6.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.1648, allocations: 4.031 kB / 449.4 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.1648, allocations: 17.72 kB / 449.4 MB, free: 6.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.165, allocations: 366.7 kB / 449.8 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.165, allocations: 4 kB / 449.8 MB, free: 6.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.1651, allocations: 15.98 kB / 449.8 MB, free: 6.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/0.1652, allocations: 32.91 kB / 449.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1652, allocations: 0 / 449.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001383/0.1653, allocations: 93.16 kB / 449.9 MB, free: 5.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1653, allocations: 4 kB / 449.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1654, allocations: 0 / 449.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1654, allocations: 3.938 kB / 449.9 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.1654, allocations: 8 kB / 450 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1655, allocations: 4.031 kB / 450 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.1655, allocations: 3.984 kB / 450 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1655, allocations: 4 kB / 450 MB, free: 5.902 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 (2): * Single equations (assignments): 2 * 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 0.0002/0.1657, allocations: 209.7 kB / 450.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.1658, allocations: 39.44 kB / 450.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.166, allocations: 104.6 kB / 450.3 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1661, allocations: 4.031 kB / 450.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1661, allocations: 4 kB / 450.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1661, allocations: 0 / 450.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.1663, allocations: 289.4 kB / 450.6 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1664, allocations: 4 kB / 450.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.1664, allocations: 7.984 kB / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1664, allocations: 0 / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1664, allocations: 0 / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1664, allocations: 4 kB / 450.6 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1664, allocations: 0 / 450.6 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1666, allocations: 190.9 kB / 450.8 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.1667, allocations: 112.6 kB / 450.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1668, allocations: 0 / 450.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1668, allocations: 4 kB / 450.9 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1669, allocations: 0 / 450.9 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1669, allocations: 4.031 kB / 450.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006385/0.1675, allocations: 0.6511 MB / 451.6 MB, free: 4.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1675, allocations: 0 / 451.6 MB, free: 4.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1678, allocations: 16 kB / 451.6 MB, free: 4.18 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 (2): * Single equations (assignments): 2 * 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.0008616/0.1686, allocations: 363.2 kB / 451.9 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.1688, allocations: 23.98 kB / 452 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1688, allocations: 0 / 452 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.1688, allocations: 15.98 kB / 452 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1692, allocations: 21.95 kB / 452 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1704, allocations: 0.8367 MB / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.1709, allocations: 0.8145 MB / 453.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.171, allocations: 11.97 kB / 453.7 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.171, allocations: 11.44 kB / 453.7 MB, free: 2.059 MB / 382.1 MB Notification: Performance of SimCode: time 2.515e-06/0.171, allocations: 0 / 453.7 MB, free: 2.059 MB / 382.1 MB Notification: Performance of Templates: time 0.004633/0.1756, allocations: 1.155 MB / 454.8 MB, free: 0.9023 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches