Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001886/0.001886, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001582/0.001582, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.746 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.2282/0.2282, allocations: 44.94 MB / 358.8 MB, free: 6.035 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.002032/0.002032, allocations: 59.91 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2898, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002716/0.2925, allocations: 1.673 MB / 0.5586 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2935, allocations: 0.5583 MB / 0.5592 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.2935, allocations: 3.938 kB / 0.5592 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2938, allocations: 47.8 kB / 0.5592 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.294, allocations: 91.61 kB / 0.5593 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.2944, allocations: 183 kB / 0.5595 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.2945, allocations: 87.81 kB / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.2946, allocations: 21.98 kB / 0.5596 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.2947, allocations: 35.84 kB / 0.5596 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.2948, allocations: 43.78 kB / 0.5597 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2948, allocations: 4 kB / 0.5597 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2949, allocations: 59.95 kB / 0.5597 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.295, allocations: 19.92 kB / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.295, allocations: 23.81 kB / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.2952, allocations: 127.4 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2952, allocations: 0 / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2952, allocations: 0 / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.2952, allocations: 0 / 0.5599 GB, free: 4.551 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004752/0.2957, allocations: 359.6 kB / 0.5602 GB, free: 4.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2957, allocations: 8.031 kB / 0.5602 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.2957, allocations: 30.75 kB / 0.5603 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2958, allocations: 20.84 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.2959, allocations: 138.4 kB / 0.5604 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.296, allocations: 4.375 kB / 0.5604 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.296, allocations: 8.375 kB / 0.5604 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.2961, allocations: 73.53 kB / 0.5605 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2962, allocations: 0 / 0.5605 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.2962, allocations: 0 / 0.5605 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.2962, allocations: 0 / 0.5605 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.2963, allocations: 51.95 kB / 0.5605 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.2967, allocations: 287.8 kB / 0.5608 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.2969, allocations: 54.55 kB / 0.5609 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/0.297, allocations: 28.95 kB / 0.5609 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.297, allocations: 0 / 0.5609 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.2971, allocations: 38.66 kB / 0.5609 GB, free: 3.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.2971, allocations: 7.938 kB / 0.5609 GB, free: 3.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001337/0.2984, allocations: 428.8 kB / 0.5614 GB, free: 2.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.2984, allocations: 55.39 kB / 0.5614 GB, free: 2.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.2986, allocations: 178.2 kB / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2986, allocations: 29.7 kB / 0.5616 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.2987, allocations: 100.1 kB / 0.5617 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.2987, allocations: 47.58 kB / 0.5617 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.2988, allocations: 25.72 kB / 0.5618 GB, free: 2.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.2989, allocations: 322.8 kB / 0.5621 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2991, allocations: 55.95 kB / 0.5621 GB, free: 2.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2992, allocations: 55.95 kB / 0.5622 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.2995, allocations: 128.7 kB / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2995, allocations: 0 / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003274/0.2998, allocations: 165.5 kB / 0.5625 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2998, allocations: 6.812 kB / 0.5625 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2998, allocations: 0 / 0.5625 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2998, allocations: 4.5 kB / 0.5625 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2999, allocations: 27.98 kB / 0.5625 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2999, allocations: 4 kB / 0.5625 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.3, allocations: 11.98 kB / 0.5625 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3, allocations: 8 kB / 0.5625 GB, free: 1.648 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 (11): * Single equations (assignments): 11 * 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.0001069/0.3001, allocations: 129.8 kB / 0.5627 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3001, allocations: 15.91 kB / 0.5627 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.3005, allocations: 190.7 kB / 0.5628 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3005, allocations: 3.938 kB / 0.5629 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3006, allocations: 4 kB / 0.5629 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3006, allocations: 0 / 0.5629 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.3012, allocations: 471 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3012, allocations: 0 / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.659e-05/0.3013, allocations: 23.98 kB / 0.5633 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3013, allocations: 0 / 0.5633 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3013, allocations: 12 kB / 0.5633 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3013, allocations: 3.984 kB / 0.5633 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3013, allocations: 3.984 kB / 0.5633 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.3017, allocations: 277.1 kB / 0.5636 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.3018, allocations: 16 kB / 0.5636 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3018, allocations: 3.938 kB / 0.5636 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.3019, allocations: 15.98 kB / 0.5636 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3019, allocations: 15.92 kB / 0.5637 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.3019, allocations: 4 kB / 0.5637 GB, free: 396 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.302, allocations: 144 kB / 0.5638 GB, free: 252 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.302, allocations: 0 / 0.5638 GB, free: 252 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.3023, allocations: 27.94 kB / 0.5638 GB, free: 224 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002273/0.3046, allocations: 1.19 MB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.3049, allocations: 127.8 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3049, allocations: 0 / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.305, allocations: 67.89 kB / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3053, allocations: 15.98 kB / 0.5652 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.3075, allocations: 1.904 MB / 0.5671 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.348e-05/0.3076, allocations: 104.7 kB / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.3077, allocations: 40.39 kB / 0.5672 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.3078, allocations: 35.42 kB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3078, allocations: 0 / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/0.45, allocations: 4.026 MB / 0.5712 GB, free: 8.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.93, allocations: 0.9375 kB / 0.5712 GB, free: 8.84 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.304808733984828]