Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001614/0.001614, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001641/0.001641, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2238/0.2238, allocations: 44.93 MB / 358.9 MB, free: 6.023 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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.002186/0.002186, allocations: 70.09 kB / 0.4931 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 65.47 MB / 0.557 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003093/0.3422, allocations: 1.604 MB / 0.5586 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3433, allocations: 0.5349 MB / 0.5591 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.3434, allocations: 4 kB / 0.5591 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.3436, allocations: 79.7 kB / 0.5592 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.3439, allocations: 107.6 kB / 0.5593 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.3443, allocations: 103.7 kB / 0.5594 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3444, allocations: 87.75 kB / 0.5594 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3445, allocations: 17.8 kB / 0.5595 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.3446, allocations: 31.86 kB / 0.5595 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3447, allocations: 71.73 kB / 0.5596 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3447, allocations: 4 kB / 0.5596 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.3448, allocations: 43.98 kB / 0.5596 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.3449, allocations: 23.91 kB / 0.5596 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.3449, allocations: 19.81 kB / 0.5596 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.3451, allocations: 111.5 kB / 0.5598 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3451, allocations: 0 / 0.5598 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3451, allocations: 4 kB / 0.5598 GB, free: 4.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3451, allocations: 0 / 0.5598 GB, free: 4.543 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.0005206/0.3457, allocations: 341.5 kB / 0.5601 GB, free: 4.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3457, allocations: 8.031 kB / 0.5601 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.3457, allocations: 38.75 kB / 0.5601 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.3458, allocations: 20.83 kB / 0.5601 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.346, allocations: 147 kB / 0.5603 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.346, allocations: 384 / 0.5603 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.346, allocations: 4.375 kB / 0.5603 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3461, allocations: 57.61 kB / 0.5603 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3462, allocations: 4 kB / 0.5604 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3462, allocations: 0 / 0.5604 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3462, allocations: 0 / 0.5604 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.3463, allocations: 35.91 kB / 0.5604 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.3467, allocations: 259.9 kB / 0.5606 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.3468, allocations: 46.66 kB / 0.5607 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.3469, allocations: 24.78 kB / 0.5607 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3469, allocations: 0 / 0.5607 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3469, allocations: 34.56 kB / 0.5607 GB, free: 3.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3469, allocations: 0 / 0.5607 GB, free: 3.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000981/0.3479, allocations: 257.5 kB / 0.561 GB, free: 3.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.348, allocations: 51.41 kB / 0.561 GB, free: 3.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3482, allocations: 210.2 kB / 0.5612 GB, free: 2.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3482, allocations: 25.7 kB / 0.5613 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.3483, allocations: 112.1 kB / 0.5614 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3483, allocations: 31.69 kB / 0.5614 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.3484, allocations: 25.64 kB / 0.5614 GB, free: 2.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3485, allocations: 326.8 kB / 0.5617 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.3486, allocations: 27.98 kB / 0.5618 GB, free: 2.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.3487, allocations: 35.97 kB / 0.5618 GB, free: 2.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3488, allocations: 76.75 kB / 0.5619 GB, free: 2.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3489, allocations: 0 / 0.5619 GB, free: 2.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002263/0.3491, allocations: 105.6 kB / 0.562 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3491, allocations: 6.812 kB / 0.562 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3491, allocations: 4 kB / 0.562 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3491, allocations: 4 kB / 0.562 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3492, allocations: 15.98 kB / 0.562 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3492, allocations: 3.938 kB / 0.562 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.3493, allocations: 4 kB / 0.562 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3493, allocations: 8 kB / 0.562 GB, free: 2.043 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.0001064/0.3494, allocations: 125.8 kB / 0.5621 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.3494, allocations: 15.91 kB / 0.5621 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.3497, allocations: 139.3 kB / 0.5623 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3497, allocations: 0 / 0.5623 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3497, allocations: 3.938 kB / 0.5623 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3498, allocations: 0 / 0.5623 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.3503, allocations: 386.4 kB / 0.5626 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3503, allocations: 0 / 0.5626 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.3504, allocations: 31.86 kB / 0.5627 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3504, allocations: 0 / 0.5627 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3504, allocations: 4.031 kB / 0.5627 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3504, allocations: 4 kB / 0.5627 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3504, allocations: 0 / 0.5627 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.3507, allocations: 208.3 kB / 0.5629 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.3507, allocations: 15.84 kB / 0.5629 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3508, allocations: 4 kB / 0.5629 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.3508, allocations: 7.984 kB / 0.5629 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.3509, allocations: 4 kB / 0.5629 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.3509, allocations: 4 kB / 0.5629 GB, free: 1.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.351, allocations: 172.2 kB / 0.5631 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.351, allocations: 3.938 kB / 0.5631 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3513, allocations: 23.88 kB / 0.5631 GB, free: 0.8164 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.002354/0.3536, allocations: 1.132 MB / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.3539, allocations: 75.88 kB / 0.5643 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3539, allocations: 0 / 0.5643 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.911e-05/0.354, allocations: 39.92 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3544, allocations: 18.8 kB / 0.5643 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.3566, allocations: 1.724 MB / 0.566 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.3567, allocations: 96.73 kB / 0.5661 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.774e-05/0.3568, allocations: 24.64 kB / 0.5661 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.3568, allocations: 39.42 kB / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3568, allocations: 0 / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.3871, allocations: 3.73 MB / 0.5698 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.62, allocations: 2.234 kB / 0.5698 GB, free: 10.08 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.736361982766539]