Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 104 kB / 17.63 MB, free: 5.523 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.001011/0.001011, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.3/1.3, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2021/0.2021, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.03 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1478, allocations: 60.81 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003943/0.1518, allocations: 1.557 MB / 470.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.1528, allocations: 399.3 kB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.1529, allocations: 0 / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1532, allocations: 23.86 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1534, allocations: 43.77 kB / 471.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1538, allocations: 95.06 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.154, allocations: 59.8 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1541, allocations: 19.91 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.1542, allocations: 19.92 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.1542, allocations: 19.86 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1543, allocations: 4 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.1544, allocations: 27.98 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.07e-05/0.1544, allocations: 19.92 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.1545, allocations: 27.81 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1547, allocations: 71.78 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1547, allocations: 0 / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1547, allocations: 4 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1547, allocations: 0 / 471.6 MB, free: 12.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004868/0.1552, allocations: 387.4 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1553, allocations: 8.031 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1553, allocations: 8.844 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.1555, allocations: 191.1 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1556, allocations: 8.375 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1556, allocations: 384 / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1557, allocations: 53.81 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1558, allocations: 0 / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1558, allocations: 0 / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1558, allocations: 0 / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.1559, allocations: 27.86 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.1563, allocations: 280.8 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1565, allocations: 42.56 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.1566, allocations: 20.94 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1566, allocations: 0 / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1566, allocations: 34.5 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1566, allocations: 0 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006031/0.1573, allocations: 141.3 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1573, allocations: 55.34 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1575, allocations: 161.8 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1575, allocations: 33.7 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1576, allocations: 92.12 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1576, allocations: 19.66 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.1576, allocations: 21.72 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1578, allocations: 326.8 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.1578, allocations: 15.98 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.1579, allocations: 19.98 kB / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.158, allocations: 44.83 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1581, allocations: 0 / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001902/0.1583, allocations: 93.7 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1583, allocations: 4 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1583, allocations: 3.938 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1583, allocations: 0 / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.1584, allocations: 11.98 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1584, allocations: 4 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.1584, allocations: 0 / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1584, allocations: 7.984 kB / 473.7 MB, free: 9.715 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 (5): * Single equations (assignments): 5 * 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.607e-05/0.1585, allocations: 121.8 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.1586, allocations: 7.906 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1588, allocations: 93.91 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1588, allocations: 0 / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1589, allocations: 4 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1589, allocations: 0 / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.1593, allocations: 346.5 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1593, allocations: 0 / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.1594, allocations: 11.94 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1594, allocations: 0 / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1594, allocations: 4 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1594, allocations: 7.922 kB / 474.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1594, allocations: 3.938 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1596, allocations: 179.7 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.1597, allocations: 81.02 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1597, allocations: 4.25 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.1598, allocations: 11.91 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.1598, allocations: 8 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1598, allocations: 0 / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1599, allocations: 129.7 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1599, allocations: 0 / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1602, allocations: 23.98 kB / 474.7 MB, free: 8.594 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 (5): * Single equations (assignments): 5 * 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.001068/0.1613, allocations: 390.6 kB / 475.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1615, allocations: 47.89 kB / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1616, allocations: 4 kB / 475.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.1616, allocations: 19.98 kB / 475.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.1621, allocations: 26.14 kB / 475.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.1626, allocations: 198 kB / 475.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1629, allocations: 0.6963 MB / 476.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.1629, allocations: 12.25 kB / 476.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.1629, allocations: 11.44 kB / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1629, allocations: 0 / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of Templates: time 0.003904/0.1669, allocations: 1.097 MB / 477.2 MB, free: 6.211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches