Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001337/0.001337, 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.001461/0.001461, allocations: 217.2 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 8 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.2385/0.2385, allocations: 44.91 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.002116/0.002116, allocations: 67.89 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.382, allocations: 65.47 MB / 0.5571 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003301/0.3853, allocations: 1.753 MB / 0.5588 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.3871, allocations: 1.038 MB / 0.5598 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.3872, allocations: 3.938 kB / 0.5598 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.3875, allocations: 43.77 kB / 0.5599 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.3878, allocations: 99.48 kB / 0.56 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.388, allocations: 83.66 kB / 0.56 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.3882, allocations: 99.75 kB / 0.5601 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3883, allocations: 9.812 kB / 0.5601 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3884, allocations: 47.73 kB / 0.5602 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.3885, allocations: 35.78 kB / 0.5602 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3885, allocations: 4 kB / 0.5602 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3886, allocations: 43.97 kB / 0.5603 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.3887, allocations: 19.92 kB / 0.5603 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.3887, allocations: 39.75 kB / 0.5603 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.389, allocations: 115.5 kB / 0.5604 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.389, allocations: 4 kB / 0.5604 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.389, allocations: 3.938 kB / 0.5604 GB, free: 4.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.389, allocations: 3.938 kB / 0.5604 GB, free: 4.145 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006179/0.3896, allocations: 341.6 kB / 0.5608 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3896, allocations: 12.03 kB / 0.5608 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.3897, allocations: 30.75 kB / 0.5608 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.3897, allocations: 16.88 kB / 0.5608 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.39, allocations: 158.9 kB / 0.561 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.39, allocations: 4.375 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.39, allocations: 7.938 kB / 0.561 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3902, allocations: 53.61 kB / 0.561 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3902, allocations: 0 / 0.561 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3902, allocations: 8 kB / 0.561 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3902, allocations: 0 / 0.561 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.3903, allocations: 19.98 kB / 0.5611 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.3907, allocations: 260 kB / 0.5613 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3909, allocations: 54.61 kB / 0.5614 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.3909, allocations: 20.84 kB / 0.5614 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.391, allocations: 8 kB / 0.5614 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.3911, allocations: 67.38 kB / 0.5615 GB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3911, allocations: 0 / 0.5615 GB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005818/0.3917, allocations: 177.3 kB / 0.5616 GB, free: 2.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.3918, allocations: 55.41 kB / 0.5617 GB, free: 2.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.392, allocations: 198.2 kB / 0.5619 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.392, allocations: 29.7 kB / 0.5619 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.3921, allocations: 108.1 kB / 0.562 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.3921, allocations: 27.78 kB / 0.562 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3921, allocations: 21.72 kB / 0.5621 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3923, allocations: 326.8 kB / 0.5624 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.849e-05/0.3923, allocations: 19.98 kB / 0.5624 GB, free: 1.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.3924, allocations: 41.58 kB / 0.5624 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3925, allocations: 65.77 kB / 0.5625 GB, free: 1.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3925, allocations: 4 kB / 0.5625 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.3927, allocations: 101.5 kB / 0.5626 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3927, allocations: 8 kB / 0.5626 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3928, allocations: 0 / 0.5626 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3928, allocations: 0 / 0.5626 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.3929, allocations: 19.98 kB / 0.5626 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3929, allocations: 4 kB / 0.5626 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.3929, allocations: 3.938 kB / 0.5626 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3929, allocations: 4 kB / 0.5626 GB, free: 1.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001142/0.393, allocations: 136.8 kB / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.3931, allocations: 15.91 kB / 0.5628 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.3933, allocations: 107.1 kB / 0.5629 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3933, allocations: 0 / 0.5629 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3933, allocations: 0 / 0.5629 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3933, allocations: 3.938 kB / 0.5629 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.3938, allocations: 362.4 kB / 0.5632 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3938, allocations: 4.406 kB / 0.5632 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.3938, allocations: 11.98 kB / 0.5632 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3938, allocations: 7.938 kB / 0.5632 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3939, allocations: 8 kB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3939, allocations: 0 / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3939, allocations: 0 / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3941, allocations: 204.2 kB / 0.5634 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.3941, allocations: 11.95 kB / 0.5635 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3941, allocations: 11.88 kB / 0.5635 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.3942, allocations: 3.984 kB / 0.5635 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3942, allocations: 4 kB / 0.5635 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3943, allocations: 11.98 kB / 0.5635 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3944, allocations: 140.2 kB / 0.5636 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3944, allocations: 0 / 0.5636 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3946, allocations: 27.92 kB / 0.5636 GB, free: 0.5625 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002258/0.3969, allocations: 1.102 MB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.3971, allocations: 55.91 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3971, allocations: 0 / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.3972, allocations: 23.98 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3976, allocations: 33.3 kB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3997, allocations: 1.658 MB / 0.5664 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4, allocations: 0.7118 MB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.4001, allocations: 17.27 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.4001, allocations: 35.42 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 5.52e-07/0.4001, allocations: 4 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.4283, allocations: 3.617 MB / 0.5707 GB, free: 9.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.27, allocations: 11.84 kB / 0.5707 GB, free: 9.406 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.CombiTimeTable.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.521770870000182]