Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 204.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 83.88 kB / 0.4962 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3275, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003196/0.3307, allocations: 1.59 MB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3326, allocations: 1.239 MB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.3327, allocations: 0 / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.3329, allocations: 27.78 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.3332, allocations: 87.61 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.3335, allocations: 119.2 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3336, allocations: 63.84 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.3337, allocations: 13.81 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.3338, allocations: 31.78 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3339, allocations: 27.86 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3339, allocations: 4 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.3341, allocations: 91.94 kB / 0.5639 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.3341, allocations: 11.92 kB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.3341, allocations: 23.86 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3344, allocations: 143.5 kB / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3344, allocations: 0 / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3344, allocations: 3.938 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3344, allocations: 0 / 0.5641 GB, free: 0.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005107/0.3349, allocations: 329.7 kB / 0.5644 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3349, allocations: 8.031 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.335, allocations: 34.75 kB / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.335, allocations: 8.891 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3352, allocations: 141.7 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.3352, allocations: 4.375 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.3353, allocations: 8.328 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3354, allocations: 96.66 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3354, allocations: 0 / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.3355, allocations: 0 / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3355, allocations: 0 / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.242e-05/0.3355, allocations: 23.98 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3359, allocations: 247.9 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.3361, allocations: 46.56 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.3362, allocations: 20.94 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3362, allocations: 0 / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3362, allocations: 34.56 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3362, allocations: 0 / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005654/0.3368, allocations: 149.7 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.3369, allocations: 81.11 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.337, allocations: 145.8 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.337, allocations: 29.7 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.3371, allocations: 100.1 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3371, allocations: 15.86 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.3372, allocations: 21.7 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3373, allocations: 314.8 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/0.3374, allocations: 27.91 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.3375, allocations: 63.47 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3376, allocations: 56.77 kB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3376, allocations: 4.031 kB / 0.566 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.3378, allocations: 89.59 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3378, allocations: 9.875 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3378, allocations: 0 / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3378, allocations: 0 / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.3379, allocations: 15.92 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3379, allocations: 3.938 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.338, allocations: 4 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.338, allocations: 4 kB / 0.5661 GB, free: 14.22 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 (5): * Single equations (assignments): 5 * 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.288e-05/0.3381, allocations: 121.8 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.3381, allocations: 7.953 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.3384, allocations: 94 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3384, allocations: 4 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3384, allocations: 3.938 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3384, allocations: 0 / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.3388, allocations: 325.6 kB / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3388, allocations: 4 kB / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.3389, allocations: 12.31 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3389, allocations: 7.922 kB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3389, allocations: 4 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3389, allocations: 4 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3389, allocations: 0 / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3392, allocations: 183.4 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.3392, allocations: 7.953 kB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3392, allocations: 3.938 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.3393, allocations: 12 kB / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.3393, allocations: 7.984 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.3393, allocations: 0 / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3394, allocations: 115.2 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3394, allocations: 0 / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3397, allocations: 35.88 kB / 0.5671 GB, free: 13.2 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 (5): * Single equations (assignments): 5 * 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.002271/0.3419, allocations: 1.137 MB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.3422, allocations: 51.95 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3422, allocations: 4 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.3422, allocations: 23.98 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3426, allocations: 15.98 kB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3443, allocations: 1.452 MB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.521e-05/0.3444, allocations: 79.08 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.483e-05/0.3444, allocations: 24.02 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.3445, allocations: 27.42 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3445, allocations: 0 / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.377, allocations: 3.858 MB / 0.5736 GB, free: 6.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.74, allocations: 21.34 kB / 0.5736 GB, free: 6.57 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.861441699322313]