Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001302/0.001302, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001426/0.001426, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2277/0.2277, allocations: 46.98 MB / 360.9 MB, free: 4.055 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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 67.91 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.342, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003445/0.3455, allocations: 1.644 MB / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3465, allocations: 0.5387 MB / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.3466, allocations: 0 / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.3472, allocations: 447.2 kB / 0.5632 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.3476, allocations: 299.3 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.348, allocations: 135.1 kB / 0.5636 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3482, allocations: 171.6 kB / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.3483, allocations: 13.83 kB / 0.5638 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.3484, allocations: 107.8 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.3487, allocations: 243.5 kB / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3487, allocations: 4 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.3488, allocations: 35.92 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.3489, allocations: 87.62 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.389e-05/0.349, allocations: 71.23 kB / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.3494, allocations: 266.6 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3494, allocations: 4 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3494, allocations: 0 / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3494, allocations: 4 kB / 0.5646 GB, free: 208 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008159/0.3502, allocations: 0.5844 MB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3502, allocations: 19.91 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.3503, allocations: 30.75 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.3503, allocations: 48.61 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.3507, allocations: 242.8 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3507, allocations: 4.375 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3507, allocations: 11.33 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3508, allocations: 53.67 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3508, allocations: 0 / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3509, allocations: 4 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3509, allocations: 0 / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.285e-05/0.351, allocations: 27.92 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.3515, allocations: 351.8 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.3517, allocations: 38.56 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.3517, allocations: 16.94 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3517, allocations: 11.94 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3518, allocations: 34.5 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3518, allocations: 0 / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006273/0.3524, allocations: 244.7 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.3524, allocations: 51.41 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.3534, allocations: 0.8699 MB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3534, allocations: 25.7 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3536, allocations: 228 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3537, allocations: 23.83 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.3537, allocations: 17.72 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3539, allocations: 362.8 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.354, allocations: 19.98 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.923e-05/0.354, allocations: 15.98 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3541, allocations: 44.84 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3541, allocations: 0 / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000258/0.3544, allocations: 125.6 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3544, allocations: 4 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3544, allocations: 0 / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3545, allocations: 7.938 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.3545, allocations: 15.98 kB / 0.568 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3545, allocations: 0 / 0.568 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.3546, allocations: 7.938 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3546, allocations: 4 kB / 0.568 GB, free: 12.5 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 (5): * Single equations (assignments): 5 * 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.0002142/0.3548, allocations: 213.8 kB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.3549, allocations: 47.67 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.3552, allocations: 141.1 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3552, allocations: 0 / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.3552, allocations: 3.984 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3552, allocations: 0 / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.3558, allocations: 429.6 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3558, allocations: 0 / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.3559, allocations: 15.98 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3559, allocations: 0 / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3559, allocations: 4 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3559, allocations: 3.938 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3559, allocations: 0 / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3561, allocations: 211.2 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.3562, allocations: 47.66 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3562, allocations: 0 / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.3563, allocations: 4 kB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.3564, allocations: 7.984 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3564, allocations: 4.188 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007063/0.3571, allocations: 0.6589 MB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3571, allocations: 3.938 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3573, allocations: 27.94 kB / 0.5697 GB, free: 10.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.002263/0.3596, allocations: 1.078 MB / 0.5708 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3598, allocations: 47.97 kB / 0.5708 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3598, allocations: 0 / 0.5708 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.3599, allocations: 27.92 kB / 0.5709 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.3604, allocations: 27.92 kB / 0.5709 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/0.3647, allocations: 3.248 MB / 0.5741 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.365, allocations: 224.1 kB / 0.5743 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.615e-05/0.3651, allocations: 11.98 kB / 0.5743 GB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3652, allocations: 103.4 kB / 0.5744 GB, free: 5.906 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3652, allocations: 0 / 0.5744 GB, free: 5.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.4005, allocations: 6.575 MB / 0.5808 GB, free: 15.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.95, allocations: 9.391 kB / 0.5808 GB, free: 15.38 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_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_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.085973368957639]