Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00181/0.00181, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002281/0.002281, allocations: 213.3 kB / 23.74 MB, free: 4.672 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.236/0.236, allocations: 46.94 MB / 360.9 MB, free: 4.273 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.89 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3268, allocations: 66.04 MB / 0.5607 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003001/0.3298, allocations: 1.672 MB / 0.5623 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3317, allocations: 1.298 MB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.3318, allocations: 4 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.332, allocations: 27.78 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.3323, allocations: 83.61 kB / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.3327, allocations: 183 kB / 0.5639 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3329, allocations: 79.77 kB / 0.5639 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.333, allocations: 14.09 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.333, allocations: 31.86 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.3332, allocations: 46.64 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3332, allocations: 4 kB / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.3334, allocations: 103.9 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.3334, allocations: 23.92 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.3335, allocations: 23.81 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.3338, allocations: 167.3 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3338, allocations: 4 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3338, allocations: 0 / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3338, allocations: 0 / 0.5643 GB, free: 0.8516 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.0005564/0.3343, allocations: 349.5 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3344, allocations: 8.031 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.3344, allocations: 34.73 kB / 0.5647 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.3345, allocations: 8.891 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3347, allocations: 146.3 kB / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3347, allocations: 8.375 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.3347, allocations: 4.375 kB / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.3349, allocations: 79.27 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3349, allocations: 0 / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3349, allocations: 0 / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3349, allocations: 4 kB / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3351, allocations: 39.95 kB / 0.565 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.3355, allocations: 291.8 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3357, allocations: 38.56 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.3358, allocations: 24.94 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3358, allocations: 3.984 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3358, allocations: 42.56 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3358, allocations: 0 / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008085/0.3366, allocations: 225.3 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3367, allocations: 81.11 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.3369, allocations: 163.8 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3369, allocations: 29.7 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.3369, allocations: 104.1 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.337, allocations: 15.8 kB / 0.566 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.337, allocations: 25.7 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3372, allocations: 318.8 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3373, allocations: 43.95 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.3374, allocations: 53.62 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.3377, allocations: 88.8 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3377, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003033/0.338, allocations: 125.6 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.338, allocations: 8 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.338, allocations: 3.938 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.338, allocations: 0 / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3381, allocations: 23.97 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3381, allocations: 4.25 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.3382, allocations: 12.22 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3382, allocations: 11.98 kB / 0.5666 GB, free: 14.27 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 (7): * Single equations (assignments): 7 * 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 9.632e-05/0.3383, allocations: 117.8 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.3384, allocations: 15.91 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.3387, allocations: 142.3 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3387, allocations: 0 / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3387, allocations: 0 / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3387, allocations: 3.938 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.3393, allocations: 393.5 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.3393, allocations: 8 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.3394, allocations: 15.98 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3394, allocations: 0 / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3394, allocations: 7.938 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3394, allocations: 0 / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3394, allocations: 4 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.3398, allocations: 223.4 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.3398, allocations: 15.94 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.3398, allocations: 3.938 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3399, allocations: 11.98 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.34, allocations: 7.984 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.34, allocations: 4 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3401, allocations: 119.2 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3401, allocations: 0 / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.3404, allocations: 39.88 kB / 0.5677 GB, free: 13.07 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 (7): * Single equations (assignments): 7 * 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.002311/0.3427, allocations: 1.158 MB / 0.5689 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.343, allocations: 87.91 kB / 0.5689 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.343, allocations: 0 / 0.5689 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3432, allocations: 51.91 kB / 0.569 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3435, allocations: 17.3 kB / 0.569 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.3459, allocations: 1.643 MB / 0.5706 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3463, allocations: 0.7045 MB / 0.5713 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.3464, allocations: 28.7 kB / 0.5713 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.3465, allocations: 39.39 kB / 0.5714 GB, free: 9.402 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3465, allocations: 0 / 0.5714 GB, free: 9.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.3797, allocations: 3.774 MB / 0.5751 GB, free: 5.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 7.875 kB / 0.5751 GB, free: 5.652 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_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_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.679694358994311]