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.001336/0.001336, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.001476/0.001476, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2291/0.2291, allocations: 46.93 MB / 360.9 MB, free: 4.246 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.00206/0.00206, allocations: 67.91 kB / 0.4962 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 66.03 MB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003585/0.3503, allocations: 1.882 MB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3522, allocations: 1.069 MB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.3523, allocations: 4 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.3526, allocations: 63.72 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.3531, allocations: 119.4 kB / 0.5637 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.3537, allocations: 214.9 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.354, allocations: 203.4 kB / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3541, allocations: 19.56 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3543, allocations: 83.69 kB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.3544, allocations: 107.6 kB / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3545, allocations: 12 kB / 0.5643 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3546, allocations: 47.92 kB / 0.5644 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3547, allocations: 47.83 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3548, allocations: 67.59 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.3552, allocations: 199.2 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3552, allocations: 4 kB / 0.5647 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.3552, allocations: 7.922 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3552, allocations: 0 / 0.5647 GB, free: 308 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.001266/0.3565, allocations: 0.5082 MB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.3565, allocations: 12.03 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.3566, allocations: 38.75 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.3566, allocations: 20.84 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.357, allocations: 179.3 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.357, allocations: 8.375 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.357, allocations: 7.938 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.3576, allocations: 149.5 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3576, allocations: 4 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3576, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.3576, allocations: 4 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/0.3583, allocations: 167.8 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.3592, allocations: 399.6 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.36, allocations: 194.3 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.3603, allocations: 96.75 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.3604, allocations: 0 / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006841/0.361, allocations: 175.1 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.361, allocations: 0 / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003683/0.3647, allocations: 0.8441 MB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.3648, allocations: 55.34 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.3651, allocations: 260.9 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3651, allocations: 29.7 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3653, allocations: 132.1 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.3654, allocations: 39.69 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.3655, allocations: 29.72 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3657, allocations: 330.8 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.3664, allocations: 175.8 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/0.367, allocations: 178.9 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.3683, allocations: 374.7 kB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.3683, allocations: 0 / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00154/0.3699, allocations: 480.4 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.3699, allocations: 63.41 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3699, allocations: 0 / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.37, allocations: 0 / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.3704, allocations: 71.83 kB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3704, allocations: 4 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.3708, allocations: 63.91 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3708, allocations: 4 kB / 0.5696 GB, free: 11.04 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.0001786/0.371, allocations: 145.7 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.371, allocations: 15.91 kB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.3726, allocations: 430.5 kB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3726, allocations: 3.938 kB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3726, allocations: 112 / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3726, allocations: 7.922 kB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.3744, allocations: 0.7002 MB / 0.5708 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3744, allocations: 0 / 0.5708 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.3748, allocations: 72.41 kB / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3748, allocations: 4 kB / 0.5709 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3748, allocations: 7.984 kB / 0.5709 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3748, allocations: 0 / 0.5709 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3748, allocations: 4 kB / 0.5709 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3763, allocations: 487 kB / 0.5714 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.3763, allocations: 31.72 kB / 0.5714 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.3764, allocations: 4 kB / 0.5714 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.3768, allocations: 63.91 kB / 0.5715 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.3769, allocations: 47.92 kB / 0.5715 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3769, allocations: 4 kB / 0.5715 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3771, allocations: 196.5 kB / 0.5717 GB, free: 8.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3771, allocations: 0 / 0.5717 GB, free: 8.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.3775, allocations: 40 kB / 0.5718 GB, free: 8.727 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.00324/0.3807, allocations: 1.318 MB / 0.5731 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.3822, allocations: 482 kB / 0.5735 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3822, allocations: 3.938 kB / 0.5735 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.3829, allocations: 183.7 kB / 0.5737 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3833, allocations: 36.62 kB / 0.5737 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/0.3893, allocations: 2.894 MB / 0.5766 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3897, allocations: 0.7319 MB / 0.5773 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.3898, allocations: 29.39 kB / 0.5773 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.39, allocations: 63.41 kB / 0.5774 GB, free: 2.988 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.39, allocations: 0 / 0.5774 GB, free: 2.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.4239, allocations: 6.069 MB / 0.5833 GB, free: 12.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.56, allocations: 7.031 kB / 0.5833 GB, free: 12.97 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.742427128003328]