Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001416/0.001416, 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.001475/0.001475, 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2352/0.2352, allocations: 44.92 MB / 358.8 MB, free: 6.246 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.002051/0.002051, allocations: 66.41 kB / 0.4931 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3991, allocations: 65.47 MB / 0.5571 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003935/0.403, allocations: 1.845 MB / 0.5589 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.4051, allocations: 1.119 MB / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.4052, allocations: 3.938 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.4058, allocations: 315.3 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.4063, allocations: 259.2 kB / 0.5605 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.4065, allocations: 107.6 kB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.4069, allocations: 263.2 kB / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.4069, allocations: 13.8 kB / 0.5609 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.4071, allocations: 139.5 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.4074, allocations: 215.5 kB / 0.5612 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.4074, allocations: 4 kB / 0.5612 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4075, allocations: 47.98 kB / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.4077, allocations: 147.5 kB / 0.5614 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.4079, allocations: 150.8 kB / 0.5616 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.4083, allocations: 376 kB / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.4083, allocations: 11.98 kB / 0.5619 GB, free: 2.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4083, allocations: 0 / 0.5619 GB, free: 2.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4084, allocations: 0 / 0.5619 GB, free: 2.746 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001057/0.4094, allocations: 0.6824 MB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4095, allocations: 8.031 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.4095, allocations: 38.75 kB / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.4096, allocations: 48.61 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.4103, allocations: 398.5 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4103, allocations: 8.375 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.4103, allocations: 7.938 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.4105, allocations: 95.28 kB / 0.5632 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4105, allocations: 4 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4106, allocations: 0 / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4106, allocations: 0 / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.4107, allocations: 23.98 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.4111, allocations: 361.4 kB / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.4114, allocations: 101.1 kB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.253e-05/0.4115, allocations: 37.7 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.4115, allocations: 4 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.4117, allocations: 120.9 kB / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.4117, allocations: 0 / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004983/0.4122, allocations: 193.2 kB / 0.564 GB, free: 484 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.4123, allocations: 89.11 kB / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.4135, allocations: 1.054 MB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4135, allocations: 29.7 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.4137, allocations: 236.1 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.4138, allocations: 27.81 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.4138, allocations: 29.7 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.414, allocations: 366.8 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.4141, allocations: 27.98 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4142, allocations: 63.41 kB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4144, allocations: 87.36 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4144, allocations: 7.875 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003031/0.4147, allocations: 181.8 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4147, allocations: 8 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4147, allocations: 0 / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4147, allocations: 4 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4149, allocations: 19.98 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4149, allocations: 0 / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.415, allocations: 19.94 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.415, allocations: 4 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002312/0.4152, allocations: 229.7 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.4153, allocations: 55.62 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.4157, allocations: 197.8 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4157, allocations: 0 / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4157, allocations: 0 / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4157, allocations: 0 / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.416, allocations: 328.4 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.416, allocations: 0 / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.4161, allocations: 12 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4161, allocations: 4 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4161, allocations: 0 / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4161, allocations: 7.984 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4161, allocations: 0 / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.4165, allocations: 221.3 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.4166, allocations: 71.59 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.4166, allocations: 0 / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.4167, allocations: 11.98 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4168, allocations: 15.92 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.4168, allocations: 4 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008933/0.4177, allocations: 0.7878 MB / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4177, allocations: 0 / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.418, allocations: 40 kB / 0.5681 GB, free: 12.11 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00204/0.42, allocations: 1.064 MB / 0.5691 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.4203, allocations: 75.89 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4203, allocations: 4 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4204, allocations: 35.92 kB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.4209, allocations: 91.56 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.4267, allocations: 4.571 MB / 0.5738 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.4272, allocations: 0.8546 MB / 0.5746 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.4273, allocations: 50.95 kB / 0.5747 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.4275, allocations: 159.3 kB / 0.5748 GB, free: 5.219 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4275, allocations: 0 / 0.5748 GB, free: 5.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.4641, allocations: 9.368 MB / 0.584 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.06, allocations: 4.062 kB / 0.584 GB, free: 11.92 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.316372663000948]