Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001305/0.001305, 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.001463/0.001463, allocations: 213.9 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2304/0.2304, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.002876/0.002876, allocations: 67.91 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4088, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003964/0.4127, allocations: 1.945 MB / 0.559 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.4147, allocations: 1.088 MB / 0.5601 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.4148, allocations: 3.938 kB / 0.5601 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.4152, allocations: 55.69 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.4155, allocations: 95.5 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.4158, allocations: 103.6 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.416, allocations: 147.5 kB / 0.5604 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.4162, allocations: 19.56 kB / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.4163, allocations: 63.72 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.4164, allocations: 51.64 kB / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.4164, allocations: 11.98 kB / 0.5606 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4166, allocations: 47.98 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.4166, allocations: 27.92 kB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.4167, allocations: 51.61 kB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.417, allocations: 163.2 kB / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.417, allocations: 0 / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.417, allocations: 0 / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.417, allocations: 0 / 0.5609 GB, free: 3.871 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007033/0.4177, allocations: 407.1 kB / 0.5612 GB, free: 3.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4178, allocations: 12.03 kB / 0.5613 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.4178, allocations: 34.75 kB / 0.5613 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.4179, allocations: 20.84 kB / 0.5613 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.4182, allocations: 178.9 kB / 0.5615 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4182, allocations: 4.375 kB / 0.5615 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.4183, allocations: 15.92 kB / 0.5615 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.4185, allocations: 103.2 kB / 0.5616 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.4185, allocations: 4 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4185, allocations: 7.922 kB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4185, allocations: 4 kB / 0.5616 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.4187, allocations: 51.91 kB / 0.5617 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.4193, allocations: 488 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.4196, allocations: 82.67 kB / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.4197, allocations: 36.83 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.4197, allocations: 0 / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.42, allocations: 87.31 kB / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.42, allocations: 0 / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004139/0.4204, allocations: 149.4 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4204, allocations: 55.41 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4206, allocations: 203.1 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4207, allocations: 25.7 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.4207, allocations: 116.1 kB / 0.5628 GB, free: 1.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.4208, allocations: 35.73 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.4208, allocations: 25.72 kB / 0.5629 GB, free: 1.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.421, allocations: 326.8 kB / 0.5632 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.105e-05/0.4211, allocations: 31.97 kB / 0.5633 GB, free: 1.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4212, allocations: 56.28 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4214, allocations: 108.1 kB / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4214, allocations: 0 / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002709/0.4216, allocations: 137.5 kB / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4217, allocations: 4 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4217, allocations: 4 kB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4217, allocations: 3.938 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4218, allocations: 23.98 kB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4218, allocations: 0 / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.4219, allocations: 19.83 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4219, allocations: 4 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001214/0.422, allocations: 136.5 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.422, allocations: 15.91 kB / 0.5637 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.4223, allocations: 135.4 kB / 0.5639 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4223, allocations: 3.938 kB / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4223, allocations: 0 / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4223, allocations: 0 / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.4225, allocations: 184.7 kB / 0.564 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4225, allocations: 3.938 kB / 0.5641 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.4226, allocations: 11.98 kB / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4226, allocations: 4 kB / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4226, allocations: 8 kB / 0.5641 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4226, allocations: 3.938 kB / 0.5641 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4226, allocations: 3.984 kB / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.423, allocations: 184.8 kB / 0.5643 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.423, allocations: 11.94 kB / 0.5643 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.423, allocations: 4 kB / 0.5643 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.4231, allocations: 19.98 kB / 0.5643 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.4231, allocations: 0 / 0.5643 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.4231, allocations: 7.984 kB / 0.5643 GB, free: 16 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.4233, allocations: 143.2 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4233, allocations: 0 / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.4235, allocations: 27.94 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002031/0.4256, allocations: 1.018 MB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.4258, allocations: 71.84 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4258, allocations: 0 / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.912e-05/0.4259, allocations: 36.11 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.4262, allocations: 51.77 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.4284, allocations: 1.766 MB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.4287, allocations: 0.7123 MB / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.987e-05/0.4288, allocations: 17.42 kB / 0.568 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.4289, allocations: 43.42 kB / 0.5681 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4289, allocations: 4 kB / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.4613, allocations: 4.025 MB / 0.572 GB, free: 8.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.25, allocations: 2.75 kB / 0.572 GB, free: 8.176 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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: 14.495883237999806]