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.001905/0.001905, allocations: 110 kB / 20.43 MB, free: 1.453 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.001809/0.001809, allocations: 212.2 kB / 23.74 MB, free: 4.66 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.221/0.221, allocations: 46.93 MB / 360.8 MB, free: 4.285 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.003532/0.003532, allocations: 76.2 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3895, allocations: 66.09 MB / 0.5608 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003782/0.3933, allocations: 1.866 MB / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3951, allocations: 1.041 MB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.3952, allocations: 0 / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.3954, allocations: 71.66 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.3958, allocations: 115.4 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.3962, allocations: 162.3 kB / 0.5639 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.3965, allocations: 203.3 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.3966, allocations: 19.56 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3968, allocations: 83.69 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3969, allocations: 103.6 kB / 0.5643 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.397, allocations: 16 kB / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.56e-05/0.397, allocations: 40 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.3971, allocations: 47.88 kB / 0.5644 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.3972, allocations: 75.47 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.3975, allocations: 195.2 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3975, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3975, allocations: 4 kB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3975, allocations: 0 / 0.5647 GB, free: 296 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.001093/0.3986, allocations: 0.5005 MB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3986, allocations: 16.02 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.3987, allocations: 38.75 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.3987, allocations: 16.84 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.399, allocations: 179.2 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.399, allocations: 8.359 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.399, allocations: 12.31 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.3995, allocations: 145.7 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3995, allocations: 4 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3996, allocations: 4 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3996, allocations: 0 / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006837/0.4002, allocations: 163.8 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.4008, allocations: 343.6 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.4015, allocations: 190.4 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.4018, allocations: 92.75 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.4019, allocations: 0 / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000542/0.4024, allocations: 175.1 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.4024, allocations: 0 / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003449/0.4059, allocations: 0.8168 MB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.4059, allocations: 59.41 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.4062, allocations: 256.8 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.4062, allocations: 33.69 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.4063, allocations: 124.1 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.4064, allocations: 39.69 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.4065, allocations: 33.7 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4066, allocations: 330.8 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/0.4073, allocations: 167.9 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.408, allocations: 175.7 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.4092, allocations: 365.9 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4092, allocations: 0 / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001469/0.4106, allocations: 460.5 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.4107, allocations: 59.41 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4107, allocations: 0 / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4107, allocations: 8 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.4111, allocations: 71.83 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4111, allocations: 0 / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.4115, allocations: 71.84 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.4116, allocations: 4 kB / 0.5694 GB, free: 11.15 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.000146/0.4117, allocations: 135.1 kB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.4117, allocations: 19.86 kB / 0.5696 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.4132, allocations: 410.6 kB / 0.57 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4132, allocations: 0 / 0.57 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4132, allocations: 4 kB / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4132, allocations: 3.938 kB / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.4149, allocations: 0.673 MB / 0.5707 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4149, allocations: 0 / 0.5707 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.4153, allocations: 76.41 kB / 0.5707 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4153, allocations: 0 / 0.5707 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.4153, allocations: 7.938 kB / 0.5707 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4153, allocations: 0 / 0.5707 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4153, allocations: 0 / 0.5707 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.4167, allocations: 484 kB / 0.5712 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.4167, allocations: 19.83 kB / 0.5712 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.4168, allocations: 11.94 kB / 0.5712 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.4172, allocations: 67.91 kB / 0.5713 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.4173, allocations: 47.92 kB / 0.5713 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4173, allocations: 4 kB / 0.5713 GB, free: 9.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.4175, allocations: 189.8 kB / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4175, allocations: 0 / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000305/0.4178, allocations: 43.94 kB / 0.5716 GB, free: 8.902 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.003189/0.421, allocations: 1.304 MB / 0.5728 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.4225, allocations: 473.4 kB / 0.5733 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4225, allocations: 0 / 0.5733 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006937/0.4232, allocations: 179.8 kB / 0.5735 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.4236, allocations: 36.62 kB / 0.5735 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005895/0.4295, allocations: 2.828 MB / 0.5763 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4299, allocations: 0.7241 MB / 0.577 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.43, allocations: 17.42 kB / 0.577 GB, free: 3.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.4301, allocations: 59.41 kB / 0.577 GB, free: 3.27 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4301, allocations: 0 / 0.577 GB, free: 3.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.4628, allocations: 5.991 MB / 0.5829 GB, free: 13.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.46, allocations: 10.53 kB / 0.5829 GB, free: 13.31 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.612775418005185]