Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001273/0.001273, 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.001572/0.001572, allocations: 211.2 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2259/0.2259, allocations: 44.94 MB / 358.8 MB, free: 6.027 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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.002303/0.002303, allocations: 61.62 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3329, allocations: 65.48 MB / 0.557 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003575/0.3365, allocations: 1.652 MB / 0.5586 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.3387, allocations: 1.263 MB / 0.5598 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.3388, allocations: 0 / 0.5598 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.339, allocations: 35.78 kB / 0.5599 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.3394, allocations: 91.55 kB / 0.56 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.3399, allocations: 171.5 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3401, allocations: 79.81 kB / 0.5602 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.3402, allocations: 17.81 kB / 0.5602 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.3402, allocations: 31.84 kB / 0.5602 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3404, allocations: 35.8 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3404, allocations: 4 kB / 0.5603 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.3406, allocations: 87.94 kB / 0.5604 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.3407, allocations: 23.92 kB / 0.5604 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.3408, allocations: 31.78 kB / 0.5604 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.3411, allocations: 151.5 kB / 0.5606 GB, free: 3.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3411, allocations: 3.938 kB / 0.5606 GB, free: 3.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3411, allocations: 0 / 0.5606 GB, free: 3.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.3411, allocations: 0 / 0.5606 GB, free: 3.824 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.0006889/0.3418, allocations: 353.6 kB / 0.5609 GB, free: 3.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3418, allocations: 12.03 kB / 0.5609 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.3419, allocations: 30.75 kB / 0.5609 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.3419, allocations: 8.891 kB / 0.5609 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.3422, allocations: 146.3 kB / 0.5611 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.3422, allocations: 384 / 0.5611 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3423, allocations: 8.375 kB / 0.5611 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.3426, allocations: 105 kB / 0.5612 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3426, allocations: 4 kB / 0.5612 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3426, allocations: 4 kB / 0.5612 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3426, allocations: 0 / 0.5612 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3428, allocations: 39.97 kB / 0.5612 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.3433, allocations: 283.8 kB / 0.5615 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.3434, allocations: 46.5 kB / 0.5616 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.3435, allocations: 28.92 kB / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3436, allocations: 4 kB / 0.5616 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3436, allocations: 34.56 kB / 0.5616 GB, free: 2.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3436, allocations: 0 / 0.5616 GB, free: 2.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008696/0.3445, allocations: 229.4 kB / 0.5618 GB, free: 2.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.3445, allocations: 77.11 kB / 0.5619 GB, free: 2.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3447, allocations: 171.4 kB / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3447, allocations: 29.7 kB / 0.5621 GB, free: 2.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.3448, allocations: 100.1 kB / 0.5622 GB, free: 1.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.3449, allocations: 23.8 kB / 0.5622 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.3449, allocations: 25.64 kB / 0.5622 GB, free: 1.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3451, allocations: 322.8 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3452, allocations: 35.97 kB / 0.5626 GB, free: 1.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3454, allocations: 75.39 kB / 0.5627 GB, free: 1.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.3457, allocations: 96.88 kB / 0.5628 GB, free: 1.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3457, allocations: 0 / 0.5628 GB, free: 1.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003046/0.346, allocations: 121.6 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.346, allocations: 4 kB / 0.5629 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.346, allocations: 0 / 0.5629 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.346, allocations: 4 kB / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3462, allocations: 27.91 kB / 0.5629 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3462, allocations: 0 / 0.5629 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/0.3462, allocations: 15.92 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.3462, allocations: 0 / 0.5629 GB, free: 1.184 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 (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 0.0001018/0.3463, allocations: 117.8 kB / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.3464, allocations: 15.91 kB / 0.563 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.3468, allocations: 138.6 kB / 0.5632 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3468, allocations: 3.938 kB / 0.5632 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3468, allocations: 4 kB / 0.5632 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3468, allocations: 7.922 kB / 0.5632 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.3474, allocations: 373.6 kB / 0.5635 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3474, allocations: 0 / 0.5635 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.3475, allocations: 23.98 kB / 0.5636 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3475, allocations: 3.938 kB / 0.5636 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3475, allocations: 3.938 kB / 0.5636 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3475, allocations: 0 / 0.5636 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3475, allocations: 7.938 kB / 0.5636 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.3479, allocations: 215.4 kB / 0.5638 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.348, allocations: 11.94 kB / 0.5638 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.348, allocations: 7.938 kB / 0.5638 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3481, allocations: 19.98 kB / 0.5638 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3481, allocations: 7.969 kB / 0.5638 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3481, allocations: 4 kB / 0.5638 GB, free: 152 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.3483, allocations: 122.5 kB / 0.564 GB, free: 32 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3483, allocations: 0 / 0.564 GB, free: 32 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.3486, allocations: 39.92 kB / 0.564 GB, free: 15.99 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.002616/0.3512, allocations: 1.196 MB / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.3516, allocations: 91.92 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3516, allocations: 0 / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3517, allocations: 47.91 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3522, allocations: 17.61 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.355, allocations: 1.644 MB / 0.5669 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.3551, allocations: 95.7 kB / 0.567 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.3553, allocations: 32.7 kB / 0.567 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.3553, allocations: 31.42 kB / 0.5671 GB, free: 12.94 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3553, allocations: 0 / 0.5671 GB, free: 12.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.3895, allocations: 4.204 MB / 0.5712 GB, free: 8.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.5, allocations: 4.062 kB / 0.5712 GB, free: 8.758 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.98579930095002]