Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001672/0.001672, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002382/0.002382, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.92 MB / 358.8 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003359/0.003359, allocations: 65.62 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3285, allocations: 65.48 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003275/0.3318, allocations: 1.674 MB / 0.5587 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3338, allocations: 1.279 MB / 0.5599 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.107e-05/0.3339, allocations: 0 / 0.5599 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.3341, allocations: 27.78 kB / 0.56 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.3344, allocations: 87.61 kB / 0.56 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.3347, allocations: 127.6 kB / 0.5602 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3349, allocations: 71.77 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.335, allocations: 21.81 kB / 0.5602 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.335, allocations: 27.86 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3352, allocations: 35.84 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3352, allocations: 8 kB / 0.5603 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3354, allocations: 107.8 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.3355, allocations: 15.92 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.3355, allocations: 35.8 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3358, allocations: 143.5 kB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3358, allocations: 7.938 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3358, allocations: 0 / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3358, allocations: 0 / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000549/0.3363, allocations: 349.6 kB / 0.5609 GB, free: 3.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3364, allocations: 12.03 kB / 0.561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.3364, allocations: 30.75 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.3365, allocations: 8.891 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.3367, allocations: 138.4 kB / 0.5611 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3367, allocations: 4.359 kB / 0.5611 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3367, allocations: 12.27 kB / 0.5611 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3369, allocations: 75.33 kB / 0.5612 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3369, allocations: 0 / 0.5612 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3369, allocations: 4 kB / 0.5612 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3369, allocations: 4 kB / 0.5612 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.3371, allocations: 31.97 kB / 0.5613 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3375, allocations: 271.8 kB / 0.5615 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.3376, allocations: 42.56 kB / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.3377, allocations: 20.94 kB / 0.5616 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3377, allocations: 4 kB / 0.5616 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3377, allocations: 30.56 kB / 0.5616 GB, free: 2.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3377, allocations: 3.938 kB / 0.5616 GB, free: 2.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007827/0.3385, allocations: 221.5 kB / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.3386, allocations: 77.11 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3388, allocations: 150.1 kB / 0.562 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3388, allocations: 25.7 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.3388, allocations: 104.1 kB / 0.5622 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.3389, allocations: 27.73 kB / 0.5622 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3389, allocations: 17.72 kB / 0.5622 GB, free: 2.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.339, allocations: 322.8 kB / 0.5625 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3392, allocations: 31.97 kB / 0.5625 GB, free: 1.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3393, allocations: 53.7 kB / 0.5626 GB, free: 1.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.3395, allocations: 72.8 kB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3395, allocations: 4 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002843/0.3398, allocations: 109.6 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3398, allocations: 4 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3398, allocations: 4.031 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3398, allocations: 0 / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3399, allocations: 31.91 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.3399, allocations: 3.938 kB / 0.5628 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.34, allocations: 11.94 kB / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.34, allocations: 3.984 kB / 0.5628 GB, free: 1.609 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001029/0.3401, allocations: 121.8 kB / 0.5629 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.3402, allocations: 7.953 kB / 0.563 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.3405, allocations: 126.6 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3405, allocations: 0 / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3405, allocations: 0 / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3405, allocations: 7.938 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.3411, allocations: 373.5 kB / 0.5634 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3411, allocations: 0 / 0.5634 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.65e-05/0.3412, allocations: 23.98 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3412, allocations: 0 / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3412, allocations: 3.938 kB / 0.5635 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3412, allocations: 4 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3412, allocations: 0 / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.3416, allocations: 223.3 kB / 0.5637 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.3416, allocations: 11.95 kB / 0.5637 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3417, allocations: 3.938 kB / 0.5637 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3418, allocations: 11.98 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.3418, allocations: 7.984 kB / 0.5637 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.3418, allocations: 0 / 0.5637 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.342, allocations: 124.8 kB / 0.5638 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.342, allocations: 4 kB / 0.5638 GB, free: 500 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.3423, allocations: 43.86 kB / 0.5639 GB, free: 456 kB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002435/0.3447, allocations: 1.14 MB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.345, allocations: 71.94 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.345, allocations: 0 / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3452, allocations: 43.91 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3456, allocations: 19.92 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3478, allocations: 1.585 MB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.3482, allocations: 0.6924 MB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.848e-05/0.3483, allocations: 21.05 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.3484, allocations: 35.36 kB / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3484, allocations: 0 / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.3805, allocations: 3.684 MB / 0.571 GB, free: 9.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.59, allocations: 15.94 kB / 0.571 GB, free: 9.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.758588947006501]