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.001834/0.001834, allocations: 115.9 kB / 20.48 MB, free: 1.266 MB / 14.72 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.002174/0.002174, allocations: 215 kB / 23.77 MB, free: 4.434 MB / 14.72 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 1.539/1.539, allocations: 230.5 MB / 257.4 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] 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.2331/0.2331, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 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 0.002309/0.002309, allocations: 79.88 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3408, allocations: 66.08 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003224/0.344, allocations: 1.815 MB / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3458, allocations: 0.9981 MB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.3459, allocations: 3.938 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.3461, allocations: 59.72 kB / 0.5636 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3464, allocations: 123.4 kB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.3469, allocations: 211 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.3473, allocations: 203.4 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3474, allocations: 23.55 kB / 0.5641 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3475, allocations: 87.67 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3477, allocations: 95.62 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.3477, allocations: 19.94 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/0.3478, allocations: 47.92 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.3479, allocations: 35.91 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.348, allocations: 63.64 kB / 0.5644 GB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3483, allocations: 203.2 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3483, allocations: 0 / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3483, allocations: 3.938 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3483, allocations: 0 / 0.5646 GB, free: 32 kB / 398.1 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.001098/0.3494, allocations: 0.516 MB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3494, allocations: 8.031 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.3494, allocations: 42.69 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.3495, allocations: 20.83 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3498, allocations: 179.3 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3498, allocations: 384 / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.3498, allocations: 12.38 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.3503, allocations: 157.6 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3503, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3503, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3503, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.3511, allocations: 171.7 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.3519, allocations: 379.7 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.3527, allocations: 202.3 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.3531, allocations: 84.77 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3531, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005876/0.3537, allocations: 171.2 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.3537, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003843/0.3575, allocations: 0.84 MB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3576, allocations: 55.41 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3579, allocations: 256.8 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.3579, allocations: 33.7 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.358, allocations: 128.1 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.3581, allocations: 35.69 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.3582, allocations: 41.7 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3583, allocations: 326.8 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007608/0.3591, allocations: 227.2 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007645/0.3598, allocations: 235.8 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.3612, allocations: 375.9 kB / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3612, allocations: 0 / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001606/0.3628, allocations: 0.5254 MB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.3629, allocations: 59.41 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3629, allocations: 0 / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3629, allocations: 7.938 kB / 0.5695 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.3633, allocations: 75.91 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3633, allocations: 3.984 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.3638, allocations: 67.84 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.3638, allocations: 4 kB / 0.5697 GB, free: 10.57 MB / 414.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: 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 0.0001485/0.3639, allocations: 146.9 kB / 0.5698 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.364, allocations: 15.91 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.3656, allocations: 419.1 kB / 0.5702 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3656, allocations: 7.938 kB / 0.5703 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3656, allocations: 0 / 0.5703 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3656, allocations: 3.938 kB / 0.5703 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.3675, allocations: 0.6757 MB / 0.5709 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3675, allocations: 0 / 0.5709 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.3678, allocations: 67.89 kB / 0.571 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3679, allocations: 0 / 0.571 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.3679, allocations: 11.94 kB / 0.571 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3679, allocations: 0 / 0.571 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3679, allocations: 0 / 0.571 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.3695, allocations: 491 kB / 0.5715 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.3695, allocations: 27.83 kB / 0.5715 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.3696, allocations: 7.938 kB / 0.5715 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.37, allocations: 63.91 kB / 0.5716 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.3702, allocations: 47.92 kB / 0.5716 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3702, allocations: 11.98 kB / 0.5716 GB, free: 8.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.3704, allocations: 188.5 kB / 0.5718 GB, free: 8.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3704, allocations: 0 / 0.5718 GB, free: 8.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.3708, allocations: 40 kB / 0.5718 GB, free: 8.301 MB / 414.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: 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.003607/0.3744, allocations: 1.347 MB / 0.5731 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.3761, allocations: 0.5209 MB / 0.5737 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3761, allocations: 4 kB / 0.5737 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.3769, allocations: 179.7 kB / 0.5738 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3773, allocations: 46.47 kB / 0.5739 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/0.3838, allocations: 3.12 MB / 0.5769 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3839, allocations: 119.3 kB / 0.577 GB, free: 2.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.3841, allocations: 33.39 kB / 0.5771 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3842, allocations: 55.41 kB / 0.5771 GB, free: 2.809 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3842, allocations: 4 kB / 0.5771 GB, free: 2.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.4165, allocations: 6.831 MB / 0.5838 GB, free: 12.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.34, allocations: 11.83 kB / 0.5838 GB, free: 12 MB / 430.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/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: 14.604308507998212]