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.001338/0.001338, 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.001593/0.001593, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2271/0.2271, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.002187/0.002187, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.336, allocations: 65.46 MB / 0.557 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003062/0.3391, allocations: 1.688 MB / 0.5587 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.341, allocations: 1.294 MB / 0.5599 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.341, allocations: 4 kB / 0.5599 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.3412, allocations: 27.78 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.3415, allocations: 79.62 kB / 0.5601 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.3419, allocations: 186.9 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.3421, allocations: 79.77 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.3422, allocations: 9.828 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.3422, allocations: 35.84 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.3424, allocations: 51.7 kB / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.3424, allocations: 8 kB / 0.5604 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3426, allocations: 91.95 kB / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3427, allocations: 27.91 kB / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3427, allocations: 27.8 kB / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.343, allocations: 163.4 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.343, allocations: 0 / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.343, allocations: 0 / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.343, allocations: 0 / 0.5607 GB, free: 4.023 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.0005596/0.3436, allocations: 349.5 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3436, allocations: 8.031 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.3436, allocations: 34.75 kB / 0.5611 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.3437, allocations: 8.891 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3439, allocations: 152.5 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3439, allocations: 4.375 kB / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3439, allocations: 8.359 kB / 0.5612 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3441, allocations: 75.33 kB / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3441, allocations: 0 / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3442, allocations: 4 kB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3442, allocations: 4 kB / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3443, allocations: 39.95 kB / 0.5614 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3448, allocations: 283.8 kB / 0.5616 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3449, allocations: 42.55 kB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.345, allocations: 28.94 kB / 0.5617 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.345, allocations: 0 / 0.5617 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3451, allocations: 38.56 kB / 0.5617 GB, free: 2.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3451, allocations: 0 / 0.5617 GB, free: 2.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007911/0.3459, allocations: 233.3 kB / 0.562 GB, free: 2.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.3459, allocations: 77.11 kB / 0.562 GB, free: 2.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3461, allocations: 166.9 kB / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3461, allocations: 25.7 kB / 0.5622 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.3462, allocations: 104 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.3462, allocations: 19.78 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3463, allocations: 25.72 kB / 0.5624 GB, free: 2.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3464, allocations: 322.8 kB / 0.5627 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3465, allocations: 35.97 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3466, allocations: 53.67 kB / 0.5628 GB, free: 1.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.3469, allocations: 92.83 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3469, allocations: 3.938 kB / 0.5628 GB, free: 1.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002966/0.3472, allocations: 125.8 kB / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3472, allocations: 8 kB / 0.563 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3472, allocations: 4 kB / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3472, allocations: 3.938 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3473, allocations: 27.92 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3473, allocations: 0 / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.3474, allocations: 15.92 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3474, allocations: 4 kB / 0.563 GB, free: 1.434 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 9.279e-05/0.3475, allocations: 121.8 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.3476, allocations: 12.19 kB / 0.5632 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.3479, allocations: 142.3 kB / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3479, allocations: 3.984 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3479, allocations: 0 / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3479, allocations: 3.938 kB / 0.5633 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.3485, allocations: 389.5 kB / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3485, allocations: 0 / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.3486, allocations: 19.98 kB / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3486, allocations: 0 / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3486, allocations: 7.938 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3486, allocations: 3.938 kB / 0.5637 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3486, allocations: 0 / 0.5637 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.3489, allocations: 223.5 kB / 0.5639 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.349, allocations: 15.94 kB / 0.5639 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.349, allocations: 3.938 kB / 0.5639 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3491, allocations: 11.98 kB / 0.5639 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.3491, allocations: 0 / 0.5639 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3491, allocations: 4 kB / 0.5639 GB, free: 412 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3492, allocations: 122.2 kB / 0.5641 GB, free: 292 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3492, allocations: 0 / 0.5641 GB, free: 292 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.3495, allocations: 47.8 kB / 0.5641 GB, free: 244 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.00232/0.3518, allocations: 1.156 MB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.3521, allocations: 87.92 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3521, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3523, allocations: 51.89 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3526, allocations: 15.98 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.355, allocations: 1.659 MB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3554, allocations: 0.7005 MB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.022e-05/0.3555, allocations: 32.72 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.3555, allocations: 35.41 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3555, allocations: 0 / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.3856, allocations: 3.778 MB / 0.5714 GB, free: 8.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.43, allocations: 4.062 kB / 0.5714 GB, free: 8.809 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.648958625002706]