Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007998/0.0007998, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9229/0.9229, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.525e-05, allocations: 2.281 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.1615/0.1616, allocations: 1.811 MB / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.1625, allocations: 0.9924 MB / 445 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.1626, allocations: 0 / 445 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1628, allocations: 75.78 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.163, allocations: 116.5 kB / 445.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1633, allocations: 213.5 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.1635, allocations: 212.9 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.1636, allocations: 13.52 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1637, allocations: 110 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.1638, allocations: 85.61 kB / 445.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1638, allocations: 17.31 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.76e-05/0.1639, allocations: 46.31 kB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.164, allocations: 48.69 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.164, allocations: 41.19 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1642, allocations: 205 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1642, allocations: 7.172 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1642, allocations: 0 / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1642, allocations: 3 kB / 446.2 MB, free: 42.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005885/0.1648, allocations: 0.5111 MB / 446.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1648, allocations: 8.812 kB / 446.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.228e-05/0.1649, allocations: 36.17 kB / 446.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1649, allocations: 21.38 kB / 446.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.165, allocations: 183.8 kB / 446.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.165, allocations: 6.812 kB / 446.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1651, allocations: 9.219 kB / 446.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.1653, allocations: 140.7 kB / 447.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1653, allocations: 3.609 kB / 447.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1653, allocations: 7.125 kB / 447.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1653, allocations: 6.844 kB / 447.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.1657, allocations: 168.2 kB / 447.2 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1661, allocations: 383.5 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.1665, allocations: 194.1 kB / 447.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.1666, allocations: 91.34 kB / 447.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1667, allocations: 3.281 kB / 447.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.167, allocations: 167.1 kB / 448.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.167, allocations: 2.906 kB / 448.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001715/0.1687, allocations: 0.8388 MB / 448.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.1687, allocations: 60.81 kB / 449 MB, free: 41.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1689, allocations: 254.4 kB / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1689, allocations: 29.7 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.1689, allocations: 134.2 kB / 449.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.1689, allocations: 37.98 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.169, allocations: 37.44 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.296e-05/0.169, allocations: 338.8 kB / 449.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.1694, allocations: 231.1 kB / 450 MB, free: 40.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.1697, allocations: 233.7 kB / 450.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/0.1703, allocations: 377.9 kB / 450.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1703, allocations: 0 / 450.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006854/0.171, allocations: 0.5208 MB / 451.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.171, allocations: 63.14 kB / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.171, allocations: 0 / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.171, allocations: 0 / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1712, allocations: 74.27 kB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1712, allocations: 2.75 kB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.1714, allocations: 61.66 kB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1714, allocations: 9.781 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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 6.917e-05/0.1714, allocations: 136.8 kB / 451.5 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.1715, allocations: 20.31 kB / 451.5 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006985/0.1722, allocations: 434.8 kB / 451.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1722, allocations: 0 / 451.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1722, allocations: 3 kB / 451.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1722, allocations: 0 / 451.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.173, allocations: 0.6662 MB / 452.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.173, allocations: 0 / 452.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1731, allocations: 71.06 kB / 452.6 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1731, allocations: 0 / 452.6 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1731, allocations: 7.406 kB / 452.6 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1731, allocations: 3 kB / 452.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1731, allocations: 6.625 kB / 452.7 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.1738, allocations: 499.3 kB / 453.1 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.1738, allocations: 17.33 kB / 453.2 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1738, allocations: 9.906 kB / 453.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.174, allocations: 61.88 kB / 453.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.342e-05/0.1741, allocations: 53.09 kB / 453.3 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1741, allocations: 5.594 kB / 453.3 MB, free: 39.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.365e-05/0.1742, allocations: 189.8 kB / 453.5 MB, free: 39.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1742, allocations: 0 / 453.5 MB, free: 39.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.1744, allocations: 45.91 kB / 453.5 MB, free: 39.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001308/0.1757, allocations: 1.353 MB / 454.9 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.1764, allocations: 0.5241 MB / 455.4 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1764, allocations: 2.844 kB / 455.4 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.1768, allocations: 181.8 kB / 455.6 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.177, allocations: 42.23 kB / 455.6 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.1798, allocations: 3.125 MB / 458.7 MB, free: 36.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.194e-05/0.1799, allocations: 125.2 kB / 458.9 MB, free: 36.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.18, allocations: 31.92 kB / 458.9 MB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.1801, allocations: 56.69 kB / 459 MB, free: 35.98 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1801, allocations: 0 / 459 MB, free: 35.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.1968, allocations: 6.882 MB / 465.8 MB, free: 34.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.356, allocations: 0 / 465.8 MB, free: 34.33 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00279441 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:time,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 9.48319246713072]