Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.00161/0.00161, allocations: 109.2 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.001992/0.001992, allocations: 209.8 kB / 23.74 MB, free: 4.691 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2388/0.2388, allocations: 46.92 MB / 360.9 MB, free: 4.301 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 68.08 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 66.04 MB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003187/0.3461, allocations: 1.698 MB / 0.5623 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3472, allocations: 0.6011 MB / 0.5629 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.3473, allocations: 0 / 0.5629 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.3479, allocations: 459.1 kB / 0.5634 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.3484, allocations: 291.3 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.3488, allocations: 178.9 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.3491, allocations: 179.6 kB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3492, allocations: 14.05 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3493, allocations: 115.7 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.3496, allocations: 251.5 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3496, allocations: 4 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3497, allocations: 55.91 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3499, allocations: 87.62 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.35, allocations: 107 kB / 0.5646 GB, free: 484 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3503, allocations: 286.5 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3503, allocations: 4 kB / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3503, allocations: 0 / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3503, allocations: 0 / 0.5649 GB, free: 192 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000845/0.3512, allocations: 0.5994 MB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3512, allocations: 8.031 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.3513, allocations: 42.62 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.3513, allocations: 52.59 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3517, allocations: 250.8 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.3517, allocations: 384 / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.3517, allocations: 6.062 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3519, allocations: 57.67 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3519, allocations: 0 / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3519, allocations: 8 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3519, allocations: 7.938 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3521, allocations: 31.91 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.3527, allocations: 379.8 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3528, allocations: 46.58 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.3529, allocations: 28.73 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.3529, allocations: 0 / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3529, allocations: 34.64 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3529, allocations: 0 / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001037/0.3539, allocations: 328.5 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.354, allocations: 55.41 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009474/0.3549, allocations: 0.8737 MB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.355, allocations: 25.7 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.3552, allocations: 232.1 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.3552, allocations: 23.75 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.3553, allocations: 29.64 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3555, allocations: 366.7 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.764e-05/0.3556, allocations: 31.97 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.3556, allocations: 31.97 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3558, allocations: 72.81 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3558, allocations: 8 kB / 0.5684 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000261/0.3561, allocations: 141.4 kB / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3561, allocations: 12 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3561, allocations: 0 / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3561, allocations: 0 / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3562, allocations: 19.92 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3562, allocations: 320 / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.3563, allocations: 7.984 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3563, allocations: 7.938 kB / 0.5685 GB, free: 12.21 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0002223/0.3565, allocations: 217.7 kB / 0.5687 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.3566, allocations: 51.67 kB / 0.5688 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.3569, allocations: 173.5 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.357, allocations: 3.984 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.357, allocations: 3.938 kB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.357, allocations: 432 / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.3576, allocations: 0.4982 MB / 0.5695 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3576, allocations: 0 / 0.5695 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.3577, allocations: 15.98 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3577, allocations: 0 / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3577, allocations: 4 kB / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3577, allocations: 0 / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3577, allocations: 7.922 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.358, allocations: 264 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.3581, allocations: 35.72 kB / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3581, allocations: 3.984 kB / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.3582, allocations: 8 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.3583, allocations: 11.92 kB / 0.5698 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3583, allocations: 7.938 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006864/0.359, allocations: 0.6589 MB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.359, allocations: 4 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.3592, allocations: 28 kB / 0.5705 GB, free: 10.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002309/0.3616, allocations: 1.145 MB / 0.5716 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.3618, allocations: 67.94 kB / 0.5717 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3618, allocations: 4 kB / 0.5717 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.3619, allocations: 43.91 kB / 0.5717 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.3624, allocations: 36.33 kB / 0.5717 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.3664, allocations: 3.392 MB / 0.575 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.3669, allocations: 0.8382 MB / 0.5759 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.955e-05/0.367, allocations: 16.42 kB / 0.5759 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.3672, allocations: 119.4 kB / 0.576 GB, free: 4.516 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3672, allocations: 0 / 0.576 GB, free: 4.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.4016, allocations: 6.645 MB / 0.5825 GB, free: 13.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.96, allocations: 7.297 kB / 0.5825 GB, free: 13.93 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_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_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.131265030999202]