Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.002075/0.002075, 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.00194/0.00194, allocations: 215.8 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2241/0.2241, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.002842/0.002842, allocations: 67.89 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3561, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003499/0.3596, allocations: 1.611 MB / 0.5586 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3607, allocations: 0.5232 MB / 0.5591 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.3608, allocations: 0 / 0.5591 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.3611, allocations: 99.66 kB / 0.5592 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.3614, allocations: 111.6 kB / 0.5593 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.3617, allocations: 95.75 kB / 0.5594 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.3618, allocations: 79.77 kB / 0.5594 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3619, allocations: 17.8 kB / 0.5595 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.362, allocations: 35.91 kB / 0.5595 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3621, allocations: 63.69 kB / 0.5596 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3621, allocations: 4 kB / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.935e-05/0.3622, allocations: 43.98 kB / 0.5596 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.3623, allocations: 23.91 kB / 0.5596 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.3623, allocations: 27.8 kB / 0.5596 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3625, allocations: 111.5 kB / 0.5598 GB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3625, allocations: 4 kB / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3625, allocations: 0 / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.3626, allocations: 0 / 0.5598 GB, free: 4.676 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.000544/0.3631, allocations: 349.5 kB / 0.5601 GB, free: 4.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3631, allocations: 8.031 kB / 0.5601 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.3632, allocations: 38.75 kB / 0.5601 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3632, allocations: 12.84 kB / 0.5601 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.3634, allocations: 142.3 kB / 0.5603 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.3634, allocations: 4.375 kB / 0.5603 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3635, allocations: 8.328 kB / 0.5603 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3636, allocations: 65.61 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3636, allocations: 0 / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.3636, allocations: 0 / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3636, allocations: 3.938 kB / 0.5604 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.3637, allocations: 27.92 kB / 0.5604 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.3641, allocations: 267.8 kB / 0.5606 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.3643, allocations: 42.55 kB / 0.5607 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.3643, allocations: 16.8 kB / 0.5607 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3643, allocations: 4 kB / 0.5607 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3644, allocations: 38.64 kB / 0.5607 GB, free: 3.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3644, allocations: 0 / 0.5607 GB, free: 3.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008952/0.3653, allocations: 225.3 kB / 0.561 GB, free: 3.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3653, allocations: 55.41 kB / 0.561 GB, free: 3.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.3656, allocations: 235.2 kB / 0.5612 GB, free: 2.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.3656, allocations: 29.7 kB / 0.5613 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.3657, allocations: 112.1 kB / 0.5614 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3657, allocations: 23.75 kB / 0.5614 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.3658, allocations: 25.7 kB / 0.5614 GB, free: 2.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.366, allocations: 330.8 kB / 0.5617 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.736e-05/0.366, allocations: 19.98 kB / 0.5618 GB, free: 2.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.3661, allocations: 27.98 kB / 0.5618 GB, free: 2.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3663, allocations: 64.77 kB / 0.5618 GB, free: 2.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3663, allocations: 4 kB / 0.5618 GB, free: 2.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000251/0.3665, allocations: 101.5 kB / 0.5619 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3665, allocations: 8 kB / 0.5619 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3665, allocations: 0 / 0.5619 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3666, allocations: 0 / 0.5619 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3667, allocations: 19.98 kB / 0.562 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3667, allocations: 3.938 kB / 0.562 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3667, allocations: 11.94 kB / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3667, allocations: 4 kB / 0.562 GB, free: 2.191 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.0001145/0.3668, allocations: 133.8 kB / 0.5621 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.3669, allocations: 11.95 kB / 0.5621 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.3672, allocations: 119.3 kB / 0.5622 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3672, allocations: 3.938 kB / 0.5622 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3672, allocations: 3.938 kB / 0.5622 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3672, allocations: 4 kB / 0.5622 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.3677, allocations: 370.4 kB / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3677, allocations: 0 / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.3678, allocations: 27.86 kB / 0.5626 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3678, allocations: 0 / 0.5626 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3678, allocations: 8 kB / 0.5626 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3678, allocations: 0 / 0.5626 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.3678, allocations: 4 kB / 0.5626 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3681, allocations: 200.3 kB / 0.5628 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.3681, allocations: 11.89 kB / 0.5628 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3681, allocations: 4.031 kB / 0.5628 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.3682, allocations: 8 kB / 0.5629 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.3682, allocations: 7.984 kB / 0.5629 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3682, allocations: 4 kB / 0.5629 GB, free: 1.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.3684, allocations: 172.3 kB / 0.563 GB, free: 1.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3684, allocations: 3.938 kB / 0.563 GB, free: 1.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3686, allocations: 23.95 kB / 0.5631 GB, free: 1 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.002353/0.371, allocations: 1.126 MB / 0.5642 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3712, allocations: 67.92 kB / 0.5642 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3713, allocations: 0 / 0.5642 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.3713, allocations: 35.88 kB / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3717, allocations: 28.17 kB / 0.5643 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3738, allocations: 1.708 MB / 0.566 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3739, allocations: 100.7 kB / 0.566 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.3739, allocations: 12.66 kB / 0.5661 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.374, allocations: 35.42 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.374, allocations: 0 / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.4056, allocations: 3.757 MB / 0.5698 GB, free: 10.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.81, allocations: 16.27 kB / 0.5698 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.901164633221924]