Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001904/0.001904, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002221/0.002221, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2255/0.2255, allocations: 44.93 MB / 358.8 MB, free: 6.062 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.002093/0.002093, allocations: 72.17 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.005394/0.3619, allocations: 1.61 MB / 0.5586 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3636, allocations: 0.5231 MB / 0.5591 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3637, allocations: 7.938 kB / 0.5591 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.3643, allocations: 119.7 kB / 0.5592 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005722/0.3648, allocations: 131.5 kB / 0.5593 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.3653, allocations: 91.25 kB / 0.5594 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.3656, allocations: 99.73 kB / 0.5595 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3658, allocations: 17.81 kB / 0.5595 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.3659, allocations: 51.75 kB / 0.5596 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3662, allocations: 95.77 kB / 0.5597 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.3662, allocations: 4 kB / 0.5597 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.3663, allocations: 39.98 kB / 0.5597 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.3664, allocations: 23.92 kB / 0.5597 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.3665, allocations: 35.72 kB / 0.5598 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.3669, allocations: 123.4 kB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3669, allocations: 0 / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3669, allocations: 0 / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3669, allocations: 0 / 0.5599 GB, free: 4.598 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.0008846/0.3678, allocations: 377.3 kB / 0.5602 GB, free: 4.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.3678, allocations: 8.031 kB / 0.5602 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/0.3679, allocations: 34.75 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.368, allocations: 12.84 kB / 0.5603 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3683, allocations: 162.4 kB / 0.5604 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3684, allocations: 4.375 kB / 0.5604 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.3684, allocations: 4.375 kB / 0.5604 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.3686, allocations: 53.62 kB / 0.5605 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.3687, allocations: 7.922 kB / 0.5605 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3687, allocations: 4 kB / 0.5605 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3687, allocations: 8 kB / 0.5605 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.3689, allocations: 23.97 kB / 0.5605 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/0.3696, allocations: 267.9 kB / 0.5608 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3698, allocations: 42.5 kB / 0.5608 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.3699, allocations: 20.86 kB / 0.5609 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3699, allocations: 0 / 0.5609 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.758e-05/0.37, allocations: 34.64 kB / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.37, allocations: 0 / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001557/0.3715, allocations: 241.2 kB / 0.5611 GB, free: 3.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.3716, allocations: 55.41 kB / 0.5612 GB, free: 3.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.3721, allocations: 271.8 kB / 0.5614 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.3722, allocations: 29.7 kB / 0.5615 GB, free: 2.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3723, allocations: 112.1 kB / 0.5616 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.3724, allocations: 31.67 kB / 0.5616 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/0.3724, allocations: 25.72 kB / 0.5616 GB, free: 2.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.3727, allocations: 330.8 kB / 0.5619 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.3729, allocations: 27.97 kB / 0.562 GB, free: 2.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.373, allocations: 23.98 kB / 0.562 GB, free: 2.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.3733, allocations: 68.98 kB / 0.5621 GB, free: 2.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3733, allocations: 0 / 0.5621 GB, free: 2.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000469/0.3738, allocations: 105.6 kB / 0.5622 GB, free: 2.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.3738, allocations: 4 kB / 0.5622 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3738, allocations: 0 / 0.5622 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/0.3739, allocations: 4 kB / 0.5622 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.3741, allocations: 19.98 kB / 0.5622 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.3741, allocations: 3.938 kB / 0.5622 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.3742, allocations: 7.984 kB / 0.5622 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3742, allocations: 4 kB / 0.5622 GB, free: 2.012 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.0001996/0.3744, allocations: 139.1 kB / 0.5623 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.3744, allocations: 11.91 kB / 0.5623 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.3749, allocations: 123 kB / 0.5625 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3749, allocations: 0 / 0.5625 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3749, allocations: 7.938 kB / 0.5625 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3749, allocations: 0 / 0.5625 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.376, allocations: 374.4 kB / 0.5628 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.376, allocations: 0 / 0.5628 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3761, allocations: 27.86 kB / 0.5628 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3761, allocations: 4.031 kB / 0.5629 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3761, allocations: 4 kB / 0.5629 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3761, allocations: 0 / 0.5629 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.3761, allocations: 4 kB / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.3767, allocations: 204.3 kB / 0.5631 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.3767, allocations: 15.84 kB / 0.5631 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.3767, allocations: 4 kB / 0.5631 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3769, allocations: 3.984 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.3769, allocations: 16.34 kB / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.377, allocations: 8 kB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003826/0.3773, allocations: 208.1 kB / 0.5633 GB, free: 0.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3773, allocations: 3.938 kB / 0.5633 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004926/0.3778, allocations: 27.92 kB / 0.5633 GB, free: 0.7617 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.003888/0.3817, allocations: 1.127 MB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.3821, allocations: 63.89 kB / 0.5645 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3821, allocations: 0 / 0.5645 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3822, allocations: 35.91 kB / 0.5645 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.3829, allocations: 25.28 kB / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.3867, allocations: 1.808 MB / 0.5663 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3869, allocations: 107 kB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.798e-05/0.387, allocations: 20.95 kB / 0.5664 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3871, allocations: 35.42 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3871, allocations: 4 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.4303, allocations: 3.942 MB / 0.5703 GB, free: 9.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.82, allocations: 10.86 kB / 0.5703 GB, free: 9.711 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.936167879030108]