Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 207 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 46.95 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3123, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004681/0.317, allocations: 1.816 MB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3195, allocations: 0.9948 MB / 0.5634 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.3196, allocations: 4 kB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.3199, allocations: 67.66 kB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004812/0.3204, allocations: 111.5 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008673/0.3213, allocations: 214.8 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.3217, allocations: 203.3 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3218, allocations: 27.55 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.322, allocations: 83.69 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.3222, allocations: 107.6 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.3222, allocations: 15.94 kB / 0.5642 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3224, allocations: 47.98 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3225, allocations: 43.83 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3226, allocations: 59.59 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.323, allocations: 203.2 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.323, allocations: 0 / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.323, allocations: 0 / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.323, allocations: 0 / 0.5645 GB, free: 244 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.001519/0.3245, allocations: 0.5123 MB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3246, allocations: 8.031 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.3246, allocations: 38.75 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.3247, allocations: 20.83 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.3251, allocations: 187.2 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3251, allocations: 384 / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.3251, allocations: 15.94 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.3258, allocations: 145.5 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3259, allocations: 8 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.3259, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3259, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3269, allocations: 167.8 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.3281, allocations: 375.6 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.3292, allocations: 194.4 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/0.3298, allocations: 88.77 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.3299, allocations: 3.984 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009055/0.3308, allocations: 179.1 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/0.3308, allocations: 0 / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00607/0.3368, allocations: 0.8326 MB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.3369, allocations: 59.34 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/0.3375, allocations: 256.9 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.3376, allocations: 33.89 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3377, allocations: 128.1 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.3378, allocations: 43.77 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3379, allocations: 37.7 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.3382, allocations: 330.8 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.3396, allocations: 227.2 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.341, allocations: 239.1 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.3436, allocations: 374.5 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3436, allocations: 3.938 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002844/0.3465, allocations: 0.5262 MB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/0.3466, allocations: 59.41 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3466, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.3466, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.3473, allocations: 83.78 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3473, allocations: 3.984 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/0.348, allocations: 63.91 kB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.348, allocations: 4 kB / 0.5695 GB, free: 10.78 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.0002251/0.3482, allocations: 133.8 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.3483, allocations: 19.91 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.3508, allocations: 430.9 kB / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3508, allocations: 3.938 kB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3508, allocations: 0 / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3508, allocations: 0 / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.354, allocations: 0.6728 MB / 0.5708 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.354, allocations: 0 / 0.5708 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/0.3546, allocations: 75.77 kB / 0.5708 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3546, allocations: 0 / 0.5708 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.3547, allocations: 4 kB / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3547, allocations: 8 kB / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3547, allocations: 0 / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.3574, allocations: 483.1 kB / 0.5713 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.3575, allocations: 31.78 kB / 0.5713 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.3575, allocations: 0 / 0.5713 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.3582, allocations: 67.91 kB / 0.5714 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.3584, allocations: 47.92 kB / 0.5714 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.3585, allocations: 3.984 kB / 0.5715 GB, free: 8.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004398/0.3589, allocations: 192.5 kB / 0.5716 GB, free: 8.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3589, allocations: 0 / 0.5716 GB, free: 8.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005833/0.3595, allocations: 44 kB / 0.5717 GB, free: 8.516 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.005741/0.3652, allocations: 1.361 MB / 0.573 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002767/0.368, allocations: 0.5212 MB / 0.5735 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.368, allocations: 0 / 0.5735 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3692, allocations: 179.8 kB / 0.5737 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.3699, allocations: 41.95 kB / 0.5737 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.3802, allocations: 3.124 MB / 0.5768 GB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.3804, allocations: 123.3 kB / 0.5769 GB, free: 3.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.3806, allocations: 29.41 kB / 0.5769 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.3809, allocations: 55.41 kB / 0.577 GB, free: 3.043 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3809, allocations: 0 / 0.577 GB, free: 3.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.4214, allocations: 6.787 MB / 0.5836 GB, free: 12.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 4.062 kB / 0.5836 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_4.1.0_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.597788724990096]