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.001525/0.001525, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.00168/0.00168, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2326/0.2326, allocations: 46.92 MB / 360.8 MB, free: 4.164 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.002572/0.002572, allocations: 79.86 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3095, allocations: 66.08 MB / 0.5607 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003526/0.313, allocations: 1.875 MB / 0.5626 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3147, allocations: 1.072 MB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.3148, allocations: 4 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.3151, allocations: 59.73 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.3154, allocations: 119.4 kB / 0.5638 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3159, allocations: 213.3 kB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.3162, allocations: 207.4 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3163, allocations: 15.84 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3165, allocations: 91.67 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3167, allocations: 103.6 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.3167, allocations: 12 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3168, allocations: 51.97 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.3169, allocations: 43.84 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.667e-05/0.317, allocations: 75.53 kB / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.3173, allocations: 203.1 kB / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3173, allocations: 0 / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3173, allocations: 0 / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3173, allocations: 3.938 kB / 0.5648 GB, free: 288 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.001097/0.3184, allocations: 0.5161 MB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3185, allocations: 8.031 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.3185, allocations: 34.75 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.3186, allocations: 16.84 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.3188, allocations: 183.3 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3188, allocations: 4.375 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.3188, allocations: 4.375 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.3193, allocations: 157.6 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3193, allocations: 0 / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.3194, allocations: 4 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3194, allocations: 0 / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.3201, allocations: 171.7 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.3209, allocations: 403.6 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.3216, allocations: 198.3 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.322, allocations: 88.77 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.322, allocations: 8.141 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/0.3226, allocations: 167.2 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3226, allocations: 0 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003603/0.3262, allocations: 0.8361 MB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3263, allocations: 59.41 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.3265, allocations: 261.4 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3266, allocations: 29.7 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.3266, allocations: 132.1 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3267, allocations: 35.69 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.3268, allocations: 33.7 kB / 0.568 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3269, allocations: 334.8 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.3276, allocations: 175.7 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.3283, allocations: 177.8 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.3296, allocations: 371.9 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3296, allocations: 7.938 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001468/0.331, allocations: 475 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.3311, allocations: 59.41 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3311, allocations: 3.984 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3311, allocations: 7.984 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.3316, allocations: 67.91 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3316, allocations: 0 / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.332, allocations: 67.84 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.332, allocations: 8 kB / 0.5697 GB, free: 11.01 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.0001537/0.3321, allocations: 139.1 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.3322, allocations: 19.91 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.3336, allocations: 415 kB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3336, allocations: 4.109 kB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3336, allocations: 3.938 kB / 0.5702 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3336, allocations: 7.922 kB / 0.5702 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.3354, allocations: 0.7032 MB / 0.5709 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3354, allocations: 0 / 0.5709 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.3358, allocations: 63.91 kB / 0.571 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3358, allocations: 4 kB / 0.571 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3358, allocations: 11.92 kB / 0.571 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3358, allocations: 0 / 0.571 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.3358, allocations: 4 kB / 0.571 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.3373, allocations: 487 kB / 0.5715 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.3373, allocations: 27.84 kB / 0.5715 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.3374, allocations: 3.938 kB / 0.5715 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.3378, allocations: 63.91 kB / 0.5716 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3379, allocations: 47.92 kB / 0.5716 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.3379, allocations: 4 kB / 0.5716 GB, free: 8.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3381, allocations: 200.5 kB / 0.5718 GB, free: 8.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3381, allocations: 0 / 0.5718 GB, free: 8.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.3384, allocations: 43.94 kB / 0.5718 GB, free: 8.711 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.003166/0.3416, allocations: 1.318 MB / 0.5731 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3432, allocations: 470.4 kB / 0.5736 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3432, allocations: 3.938 kB / 0.5736 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000708/0.3439, allocations: 190.9 kB / 0.5738 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3443, allocations: 44 kB / 0.5738 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006151/0.3504, allocations: 2.896 MB / 0.5766 GB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3508, allocations: 0.7319 MB / 0.5774 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.3509, allocations: 25.42 kB / 0.5774 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3511, allocations: 59.41 kB / 0.5774 GB, free: 2.957 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3511, allocations: 0 / 0.5774 GB, free: 2.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.3834, allocations: 6.063 MB / 0.5834 GB, free: 12.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.44, allocations: 9.938 kB / 0.5834 GB, free: 12.91 MB / 430.1 MB " [Timeout remaining time 648] (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.52164875499875]