Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.00125/0.00125, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001371/0.001371, allocations: 216.2 kB / 23.73 MB, free: 4.531 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.459/1.459, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 46.96 MB / 360.9 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 71.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3906, allocations: 66.03 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003277/0.3939, allocations: 1.645 MB / 0.5622 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.395, allocations: 0.5621 MB / 0.5628 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.3951, allocations: 0 / 0.5628 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.3957, allocations: 459.1 kB / 0.5632 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000521/0.3962, allocations: 291.3 kB / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.3967, allocations: 175.1 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.397, allocations: 179.6 kB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3971, allocations: 9.828 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3972, allocations: 115.8 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.3975, allocations: 251.5 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3975, allocations: 4 kB / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-05/0.3976, allocations: 39.86 kB / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3977, allocations: 83.69 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.3978, allocations: 71.23 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.3981, allocations: 278.6 kB / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3981, allocations: 0 / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3981, allocations: 0 / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3982, allocations: 0 / 0.5646 GB, free: 136 kB / 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.0007994/0.399, allocations: 0.5931 MB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.399, allocations: 8.031 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.399, allocations: 34.75 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.3991, allocations: 44.66 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3994, allocations: 250.8 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3994, allocations: 384 / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.3994, allocations: 4.375 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3996, allocations: 57.61 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3996, allocations: 0 / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.3996, allocations: 0 / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3996, allocations: 4 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3997, allocations: 39.91 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.4003, allocations: 363.7 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.4005, allocations: 46.5 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.4005, allocations: 20.94 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.4006, allocations: 3.938 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4006, allocations: 30.56 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4006, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006337/0.4012, allocations: 244.7 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.4013, allocations: 55.41 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.4022, allocations: 0.8776 MB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.4022, allocations: 25.7 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4024, allocations: 228.1 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.4025, allocations: 23.86 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.4025, allocations: 17.7 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4027, allocations: 362.8 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.4028, allocations: 23.98 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.4028, allocations: 23.97 kB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.403, allocations: 57.02 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.403, allocations: 0 / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000243/0.4032, allocations: 121.3 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4032, allocations: 8 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4033, allocations: 4.266 kB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4033, allocations: 4 kB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.4033, allocations: 8 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4033, allocations: 3.938 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.4034, allocations: 15.92 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4034, allocations: 4 kB / 0.5681 GB, free: 12.37 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 0.0002215/0.4036, allocations: 209.8 kB / 0.5683 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.4037, allocations: 51.66 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.404, allocations: 149.2 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.404, allocations: 4 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.404, allocations: 0 / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4041, allocations: 3.938 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.4047, allocations: 429.6 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4047, allocations: 0 / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.4047, allocations: 8 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4047, allocations: 0 / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.4048, allocations: 23.8 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4048, allocations: 4.188 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4048, allocations: 0 / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.405, allocations: 219.2 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.4051, allocations: 35.72 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.4051, allocations: 7.938 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.4052, allocations: 3.984 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.4053, allocations: 4 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.4053, allocations: 0 / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007208/0.406, allocations: 0.6628 MB / 0.5699 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.406, allocations: 0 / 0.5699 GB, free: 10.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.4062, allocations: 35.89 kB / 0.5699 GB, free: 10.45 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.002159/0.4084, allocations: 1.085 MB / 0.5709 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.4086, allocations: 51.95 kB / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4086, allocations: 0 / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.4087, allocations: 31.92 kB / 0.571 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4091, allocations: 31.92 kB / 0.5711 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.4132, allocations: 3.275 MB / 0.5743 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.4134, allocations: 224.1 kB / 0.5745 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.314e-05/0.4135, allocations: 20.64 kB / 0.5745 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.4137, allocations: 115.4 kB / 0.5746 GB, free: 5.672 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4137, allocations: 0 / 0.5746 GB, free: 5.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.4492, allocations: 6.676 MB / 0.5811 GB, free: 15.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.73, allocations: 9.031 kB / 0.5811 GB, free: 15.05 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_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_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.872148771013599]