Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001299/0.001299, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001411/0.001411, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2496/0.2496, allocations: 46.94 MB / 360.9 MB, free: 4.371 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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.91 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3991, allocations: 66.03 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002971/0.4021, allocations: 1.625 MB / 0.5623 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.4031, allocations: 0.5504 MB / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.4032, allocations: 3.938 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.4034, allocations: 23.86 kB / 0.5628 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.4036, allocations: 83.61 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.4039, allocations: 103.7 kB / 0.563 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.4041, allocations: 71.78 kB / 0.5631 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.4042, allocations: 13.81 kB / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.4042, allocations: 23.88 kB / 0.5631 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.4043, allocations: 23.84 kB / 0.5631 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.4043, allocations: 4 kB / 0.5631 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.4044, allocations: 31.98 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.4044, allocations: 11.94 kB / 0.5632 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.4045, allocations: 27.8 kB / 0.5632 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.4046, allocations: 79.66 kB / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4047, allocations: 0 / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4047, allocations: 8 kB / 0.5633 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.4047, allocations: 0 / 0.5633 GB, free: 1.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004465/0.4051, allocations: 309.8 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4051, allocations: 8.031 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.4052, allocations: 38.75 kB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.4052, allocations: 8.891 kB / 0.5636 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.4054, allocations: 132.8 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.4054, allocations: 384 / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.4054, allocations: 4.375 kB / 0.5638 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.4056, allocations: 53.56 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4056, allocations: 0 / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4056, allocations: 8 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4056, allocations: 0 / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.751e-05/0.4057, allocations: 27.91 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.4061, allocations: 255.9 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.4063, allocations: 42.56 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.4064, allocations: 20.94 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.4064, allocations: 0 / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.4064, allocations: 38.5 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.4064, allocations: 0 / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005794/0.407, allocations: 153.7 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.407, allocations: 51.41 kB / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.4072, allocations: 150.1 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4072, allocations: 29.7 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.4073, allocations: 96.08 kB / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.4073, allocations: 15.84 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.4073, allocations: 17.72 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4075, allocations: 330.8 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.4076, allocations: 23.92 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.4076, allocations: 19.98 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4078, allocations: 48.83 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4078, allocations: 0 / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001982/0.408, allocations: 97.73 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.408, allocations: 8 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.408, allocations: 0 / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.408, allocations: 7.984 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.4081, allocations: 11.98 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4081, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.4081, allocations: 4 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4081, allocations: 7.922 kB / 0.5652 GB, free: 15.59 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 8.814e-05/0.4082, allocations: 117.8 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.4082, allocations: 3.953 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.4085, allocations: 106 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4085, allocations: 0 / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4085, allocations: 3.938 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4085, allocations: 4 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.409, allocations: 325.6 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.409, allocations: 0 / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.409, allocations: 12 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.409, allocations: 7.984 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.409, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.409, allocations: 7.875 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.409, allocations: 0 / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.4093, allocations: 183.5 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.4093, allocations: 3.953 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.4093, allocations: 8.25 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.4094, allocations: 7.938 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.4094, allocations: 7.984 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.4094, allocations: 4 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.735e-05/0.4095, allocations: 117.5 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4095, allocations: 0 / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.4098, allocations: 19.94 kB / 0.5661 GB, free: 14.58 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.001958/0.4117, allocations: 1.022 MB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.4119, allocations: 47.97 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.412, allocations: 0 / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.412, allocations: 35.91 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.4124, allocations: 17.56 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.4142, allocations: 1.461 MB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.4145, allocations: 0.6924 MB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.035e-05/0.4146, allocations: 27.83 kB / 0.5693 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.4146, allocations: 23.44 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4146, allocations: 0 / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.4442, allocations: 2.722 MB / 0.572 GB, free: 8.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.27, allocations: 10.33 kB / 0.572 GB, free: 8.621 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.357385071001772]