Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001398/0.001398, 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.001596/0.001596, allocations: 211.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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2303/0.2303, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.002861/0.002861, allocations: 71.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.32, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003606/0.3236, allocations: 1.641 MB / 0.5586 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3259, allocations: 1.267 MB / 0.5598 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.3259, allocations: 0 / 0.5598 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.3262, allocations: 35.66 kB / 0.5599 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.3266, allocations: 87.61 kB / 0.5599 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.3271, allocations: 183 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.3273, allocations: 75.83 kB / 0.5602 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3274, allocations: 13.81 kB / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.3275, allocations: 35.8 kB / 0.5602 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3276, allocations: 35.83 kB / 0.5603 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3276, allocations: 4 kB / 0.5603 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.3278, allocations: 87.95 kB / 0.5604 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.3279, allocations: 23.91 kB / 0.5604 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.3279, allocations: 27.81 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.3282, allocations: 159.4 kB / 0.5606 GB, free: 3.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3282, allocations: 4 kB / 0.5606 GB, free: 3.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3282, allocations: 0 / 0.5606 GB, free: 3.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3282, allocations: 0 / 0.5606 GB, free: 3.863 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.0005852/0.3288, allocations: 341.6 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3288, allocations: 12.03 kB / 0.5609 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.3289, allocations: 34.75 kB / 0.5609 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.3289, allocations: 12.88 kB / 0.5609 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.3291, allocations: 142.3 kB / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3291, allocations: 4.375 kB / 0.5611 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3292, allocations: 4.375 kB / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.3294, allocations: 109 kB / 0.5612 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3294, allocations: 0 / 0.5612 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3294, allocations: 4 kB / 0.5612 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3294, allocations: 4 kB / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3295, allocations: 39.94 kB / 0.5612 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.33, allocations: 283.7 kB / 0.5615 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.3302, allocations: 46.55 kB / 0.5616 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.64e-05/0.3302, allocations: 24.94 kB / 0.5616 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3302, allocations: 0 / 0.5616 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3303, allocations: 38.56 kB / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3303, allocations: 0 / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008123/0.3311, allocations: 229.3 kB / 0.5618 GB, free: 2.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.3311, allocations: 81.19 kB / 0.5619 GB, free: 2.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.3313, allocations: 163.4 kB / 0.5621 GB, free: 2.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3313, allocations: 25.7 kB / 0.5621 GB, free: 2.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.3314, allocations: 104.1 kB / 0.5622 GB, free: 2.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.3314, allocations: 27.72 kB / 0.5622 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.3315, allocations: 17.72 kB / 0.5622 GB, free: 1.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3316, allocations: 322.8 kB / 0.5625 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3318, allocations: 39.97 kB / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.3319, allocations: 91.38 kB / 0.5627 GB, free: 1.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.3322, allocations: 84.8 kB / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3322, allocations: 0 / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003354/0.3325, allocations: 125.6 kB / 0.5629 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3325, allocations: 4 kB / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3325, allocations: 0 / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3326, allocations: 4 kB / 0.5629 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3327, allocations: 19.92 kB / 0.5629 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3327, allocations: 0 / 0.5629 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.3328, allocations: 15.92 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3328, allocations: 8 kB / 0.5629 GB, free: 1.227 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.0001025/0.3329, allocations: 117.8 kB / 0.563 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.3329, allocations: 15.91 kB / 0.563 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.3333, allocations: 146.2 kB / 0.5632 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3333, allocations: 4 kB / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3333, allocations: 0 / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3333, allocations: 3.938 kB / 0.5632 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006594/0.334, allocations: 373.6 kB / 0.5635 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.334, allocations: 0 / 0.5635 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.423e-05/0.3341, allocations: 27.91 kB / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3341, allocations: 0 / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3341, allocations: 3.938 kB / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3341, allocations: 4 kB / 0.5636 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3341, allocations: 3.938 kB / 0.5636 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.3345, allocations: 223.8 kB / 0.5638 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.3345, allocations: 11.95 kB / 0.5638 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3345, allocations: 7.922 kB / 0.5638 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3346, allocations: 8 kB / 0.5638 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3347, allocations: 7.984 kB / 0.5638 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.3347, allocations: 4 kB / 0.5638 GB, free: 200 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3348, allocations: 118.7 kB / 0.564 GB, free: 84 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3348, allocations: 0 / 0.564 GB, free: 84 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.3351, allocations: 43.86 kB / 0.564 GB, free: 40 kB / 398.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.002633/0.3377, allocations: 1.196 MB / 0.5652 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.3381, allocations: 83.94 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3381, allocations: 0 / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3382, allocations: 47.89 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3386, allocations: 25.61 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.3409, allocations: 1.644 MB / 0.5669 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.341, allocations: 91.69 kB / 0.567 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.3411, allocations: 24.41 kB / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.3412, allocations: 31.42 kB / 0.5671 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3412, allocations: 0 / 0.5671 GB, free: 13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04122/0.3824, allocations: 4.225 MB / 0.5712 GB, free: 8.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.35, allocations: 8.047 kB / 0.5712 GB, free: 8.793 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.695739665068686]