Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001907/0.001907, allocations: 111 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.001892/0.001892, allocations: 217.8 kB / 23.78 MB, free: 4.438 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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.23/0.23, allocations: 46.96 MB / 360.9 MB, free: 3.941 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3412, allocations: 66.07 MB / 0.5608 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00339/0.3446, allocations: 1.815 MB / 0.5625 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3464, allocations: 0.963 MB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.3464, allocations: 0 / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.3467, allocations: 67.66 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.3471, allocations: 123.4 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.3476, allocations: 158.8 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.3479, allocations: 203.3 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.348, allocations: 23.55 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3481, allocations: 83.69 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3483, allocations: 95.62 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.3483, allocations: 12 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3485, allocations: 47.98 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3486, allocations: 47.89 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.035e-05/0.3487, allocations: 55.66 kB / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.349, allocations: 199.1 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.349, allocations: 3.984 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.349, allocations: 0 / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.349, allocations: 0 / 0.5646 GB, free: 168 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.00123/0.3502, allocations: 0.5122 MB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3503, allocations: 8.031 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/0.3503, allocations: 34.75 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.3504, allocations: 20.84 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3507, allocations: 183.2 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3507, allocations: 8.375 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3507, allocations: 4.375 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.3513, allocations: 145.7 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3513, allocations: 4 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3513, allocations: 0 / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3513, allocations: 0 / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.352, allocations: 167.7 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.3526, allocations: 319.7 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.3534, allocations: 190.4 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.3538, allocations: 92.73 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.3539, allocations: 0 / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/0.3545, allocations: 167.2 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.3545, allocations: 0 / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.004046/0.3585, allocations: 0.8208 MB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.3586, allocations: 55.34 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.3589, allocations: 264.8 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.359, allocations: 33.7 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.3591, allocations: 128.1 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.3591, allocations: 35.69 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.3592, allocations: 37.7 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3594, allocations: 326.8 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/0.3602, allocations: 227.2 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007683/0.361, allocations: 223.1 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.3624, allocations: 369.8 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3624, allocations: 0 / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001698/0.3641, allocations: 0.5061 MB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.3641, allocations: 63.39 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3641, allocations: 0 / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3642, allocations: 0 / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.3646, allocations: 71.84 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3646, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.365, allocations: 76.39 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3651, allocations: 4 kB / 0.5695 GB, free: 10.85 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.0001651/0.3652, allocations: 137.8 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.3653, allocations: 23.84 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.3669, allocations: 406.7 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3669, allocations: 0 / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3669, allocations: 7.938 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.3669, allocations: 7.938 kB / 0.57 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.3688, allocations: 0.6457 MB / 0.5707 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3688, allocations: 0 / 0.5707 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.3691, allocations: 67.91 kB / 0.5707 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3691, allocations: 3.938 kB / 0.5707 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.3692, allocations: 7.922 kB / 0.5707 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3692, allocations: 0 / 0.5707 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3692, allocations: 0 / 0.5707 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.3708, allocations: 484.3 kB / 0.5712 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.3708, allocations: 31.81 kB / 0.5712 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.3708, allocations: 3.938 kB / 0.5712 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.3713, allocations: 67.89 kB / 0.5713 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.3715, allocations: 47.94 kB / 0.5713 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.3715, allocations: 7.984 kB / 0.5713 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.3717, allocations: 185.8 kB / 0.5715 GB, free: 8.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3717, allocations: 0 / 0.5715 GB, free: 8.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.372, allocations: 43.94 kB / 0.5716 GB, free: 8.617 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.003564/0.3756, allocations: 1.334 MB / 0.5729 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.3774, allocations: 0.5095 MB / 0.5734 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3774, allocations: 4 kB / 0.5734 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.3782, allocations: 175.8 kB / 0.5735 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.3786, allocations: 31.59 kB / 0.5736 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/0.3853, allocations: 3.065 MB / 0.5766 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3854, allocations: 115.3 kB / 0.5767 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.3855, allocations: 21.41 kB / 0.5767 GB, free: 3.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3857, allocations: 59.41 kB / 0.5767 GB, free: 3.242 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3857, allocations: 0 / 0.5767 GB, free: 3.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.4203, allocations: 6.759 MB / 0.5833 GB, free: 12.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.97, allocations: 3.859 kB / 0.5833 GB, free: 12.52 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:time,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 15.33729388564825]