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.001755/0.001755, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002473/0.002473, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.3287/0.3287, allocations: 46.95 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 179] 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.002369/0.002369, allocations: 83.86 kB / 0.4962 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3753, allocations: 66.09 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004553/0.3799, allocations: 1.808 MB / 0.5625 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3819, allocations: 0.9708 MB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.382, allocations: 3.938 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.3822, allocations: 63.73 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.3826, allocations: 123.4 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.383, allocations: 163 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.3833, allocations: 195.4 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3834, allocations: 19.56 kB / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.3835, allocations: 83.69 kB / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3837, allocations: 95.62 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.3837, allocations: 12 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3838, allocations: 47.98 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.384, allocations: 47.77 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.384, allocations: 59.66 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.3844, allocations: 199.2 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3844, allocations: 0 / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3844, allocations: 0 / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3844, allocations: 0 / 0.5645 GB, free: 152 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.001222/0.3856, allocations: 0.5005 MB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3857, allocations: 16.03 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.3857, allocations: 34.75 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.3858, allocations: 20.78 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.3861, allocations: 187.2 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3861, allocations: 4.359 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3861, allocations: 12.38 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.3866, allocations: 137.7 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3866, allocations: 4 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3866, allocations: 4 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3866, allocations: 4 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.3873, allocations: 159.7 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.3878, allocations: 327.7 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007702/0.3886, allocations: 178.4 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.389, allocations: 96.75 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.389, allocations: 4 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/0.3896, allocations: 163.2 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3896, allocations: 7.938 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00365/0.3932, allocations: 0.8128 MB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.3933, allocations: 55.41 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.3936, allocations: 260.8 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3936, allocations: 33.7 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3937, allocations: 132.2 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.3938, allocations: 43.77 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/0.3939, allocations: 33.7 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.394, allocations: 334.8 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007474/0.3948, allocations: 219.2 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007137/0.3955, allocations: 225.2 kB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.3968, allocations: 367.9 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3968, allocations: 0 / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001548/0.3984, allocations: 0.5059 MB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.3984, allocations: 59.41 kB / 0.5693 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3984, allocations: 4 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3985, allocations: 0 / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.3989, allocations: 75.84 kB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3989, allocations: 0 / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.3993, allocations: 75.83 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3993, allocations: 4 kB / 0.5694 GB, free: 10.83 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.000171/0.3995, allocations: 133.8 kB / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.3995, allocations: 19.86 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.4011, allocations: 414.6 kB / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4011, allocations: 4 kB / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4011, allocations: 0 / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4011, allocations: 3.938 kB / 0.57 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.4029, allocations: 0.6446 MB / 0.5706 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4029, allocations: 0 / 0.5706 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.4032, allocations: 75.84 kB / 0.5707 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4032, allocations: 0.5625 kB / 0.5707 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.4033, allocations: 7.922 kB / 0.5707 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4033, allocations: 0 / 0.5707 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4033, allocations: 0 / 0.5707 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.4048, allocations: 487 kB / 0.5711 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.4049, allocations: 19.91 kB / 0.5711 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.4049, allocations: 7.875 kB / 0.5712 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.4053, allocations: 67.89 kB / 0.5712 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4055, allocations: 47.92 kB / 0.5713 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.4055, allocations: 7.922 kB / 0.5713 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.4057, allocations: 193.8 kB / 0.5715 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4057, allocations: 0 / 0.5715 GB, free: 8.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.4061, allocations: 47.94 kB / 0.5715 GB, free: 8.598 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.003442/0.4095, allocations: 1.329 MB / 0.5728 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.4112, allocations: 0.5163 MB / 0.5733 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4112, allocations: 0 / 0.5733 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007519/0.4119, allocations: 179.7 kB / 0.5735 GB, free: 6.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.4123, allocations: 32.64 kB / 0.5735 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.4188, allocations: 3.05 MB / 0.5765 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4189, allocations: 115.2 kB / 0.5766 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.419, allocations: 21.41 kB / 0.5766 GB, free: 3.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.4192, allocations: 59.41 kB / 0.5767 GB, free: 3.23 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4192, allocations: 4 kB / 0.5767 GB, free: 3.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.454, allocations: 6.667 MB / 0.5832 GB, free: 12.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.67, allocations: 9.781 kB / 0.5832 GB, free: 12.59 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: 14.948857569135725]