Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001295/0.001295, allocations: 113.2 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.00145/0.00145, allocations: 212 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2452/0.2452, allocations: 44.92 MB / 358.8 MB, free: 6.281 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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.002061/0.002061, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 65.47 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003049/0.3516, allocations: 1.639 MB / 0.5586 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3527, allocations: 0.5427 MB / 0.5592 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.3527, allocations: 3.938 kB / 0.5592 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.353, allocations: 79.77 kB / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.3533, allocations: 103.6 kB / 0.5594 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3536, allocations: 95.69 kB / 0.5594 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3538, allocations: 83.77 kB / 0.5595 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3539, allocations: 13.81 kB / 0.5595 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.354, allocations: 43.77 kB / 0.5596 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3541, allocations: 67.81 kB / 0.5596 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3541, allocations: 3.938 kB / 0.5596 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3542, allocations: 47.98 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.3543, allocations: 19.92 kB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.3543, allocations: 31.73 kB / 0.5597 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3545, allocations: 115.4 kB / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3545, allocations: 0 / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-05/0.3545, allocations: 0 / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3546, allocations: 0 / 0.5599 GB, free: 4.875 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.0005219/0.3551, allocations: 341.6 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3551, allocations: 12.03 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.3552, allocations: 34.75 kB / 0.5602 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3552, allocations: 12.84 kB / 0.5602 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3554, allocations: 139 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3554, allocations: 4.375 kB / 0.5604 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.3554, allocations: 4.375 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3556, allocations: 61.53 kB / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3556, allocations: 0 / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3556, allocations: 4 kB / 0.5604 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3556, allocations: 8 kB / 0.5604 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3557, allocations: 23.97 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3561, allocations: 259.9 kB / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3562, allocations: 50.48 kB / 0.5608 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.3563, allocations: 12.95 kB / 0.5608 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3563, allocations: 7.984 kB / 0.5608 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3564, allocations: 34.56 kB / 0.5608 GB, free: 3.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3564, allocations: 0 / 0.5608 GB, free: 3.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008991/0.3573, allocations: 221.3 kB / 0.561 GB, free: 3.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3573, allocations: 63.39 kB / 0.5611 GB, free: 3.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3575, allocations: 214.2 kB / 0.5613 GB, free: 3.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3576, allocations: 25.7 kB / 0.5613 GB, free: 3.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.3576, allocations: 108.1 kB / 0.5614 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.3577, allocations: 27.73 kB / 0.5614 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.3577, allocations: 29.72 kB / 0.5615 GB, free: 3.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3579, allocations: 322.8 kB / 0.5618 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.3579, allocations: 23.98 kB / 0.5618 GB, free: 2.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.358, allocations: 35.91 kB / 0.5618 GB, free: 2.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3582, allocations: 56.83 kB / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3582, allocations: 0 / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.3584, allocations: 97.84 kB / 0.562 GB, free: 2.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3584, allocations: 7.938 kB / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3584, allocations: 11.94 kB / 0.562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3584, allocations: 0 / 0.562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3586, allocations: 15.98 kB / 0.562 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3586, allocations: 7.875 kB / 0.562 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.3586, allocations: 11.98 kB / 0.562 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3586, allocations: 4 kB / 0.562 GB, free: 2.43 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 (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.0001116/0.3587, allocations: 117.8 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.3588, allocations: 19.91 kB / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.3591, allocations: 119 kB / 0.5623 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3591, allocations: 0 / 0.5623 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3591, allocations: 3.938 kB / 0.5623 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3591, allocations: 3.984 kB / 0.5623 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.3596, allocations: 370.4 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3596, allocations: 0 / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.3597, allocations: 35.89 kB / 0.5627 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3597, allocations: 0 / 0.5627 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3597, allocations: 4 kB / 0.5627 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3597, allocations: 3.984 kB / 0.5627 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3597, allocations: 0 / 0.5627 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.36, allocations: 192.3 kB / 0.5629 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.36, allocations: 23.83 kB / 0.5629 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.36, allocations: 7.938 kB / 0.5629 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.3601, allocations: 8 kB / 0.5629 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3601, allocations: 7.984 kB / 0.5629 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3601, allocations: 0 / 0.5629 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3603, allocations: 168.2 kB / 0.5631 GB, free: 1.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3603, allocations: 0 / 0.5631 GB, free: 1.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3606, allocations: 27.92 kB / 0.5631 GB, free: 1.242 MB / 398.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.002416/0.363, allocations: 1.094 MB / 0.5642 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.3632, allocations: 59.95 kB / 0.5642 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3632, allocations: 0 / 0.5642 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.3633, allocations: 39.91 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.3638, allocations: 15.09 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3659, allocations: 1.681 MB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3663, allocations: 0.708 MB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.239e-05/0.3663, allocations: 8.984 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.3664, allocations: 39.42 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3664, allocations: 0 / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.3939, allocations: 3.278 MB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.61, allocations: 22.88 kB / 0.5699 GB, free: 10.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.685383422998711]