Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001627/0.001627, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.00219/0.00219, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.224/0.224, allocations: 44.91 MB / 358.8 MB, free: 6.324 MB / 286.1 MB " [Timeout remaining time 180] 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.002121/0.002121, allocations: 67.91 kB / 0.4932 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4574, allocations: 65.47 MB / 0.5571 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004341/0.4617, allocations: 1.754 MB / 0.5588 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.4638, allocations: 1.065 MB / 0.5598 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.4639, allocations: 3.938 kB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.4642, allocations: 39.77 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.4646, allocations: 99.55 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.4649, allocations: 79.67 kB / 0.5601 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.4651, allocations: 115.6 kB / 0.5602 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.4652, allocations: 13.81 kB / 0.5602 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.4654, allocations: 51.77 kB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.4655, allocations: 39.84 kB / 0.5603 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.4655, allocations: 4 kB / 0.5603 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.4658, allocations: 119.9 kB / 0.5604 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.4658, allocations: 19.91 kB / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.4659, allocations: 35.75 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.4663, allocations: 179.4 kB / 0.5606 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4663, allocations: 0 / 0.5606 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4663, allocations: 0 / 0.5606 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.4663, allocations: 0 / 0.5606 GB, free: 4.156 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.0008326/0.4671, allocations: 365.3 kB / 0.561 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.914e-05/0.4672, allocations: 12.03 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/0.4672, allocations: 30.75 kB / 0.561 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.4673, allocations: 8.891 kB / 0.561 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.4677, allocations: 160 kB / 0.5612 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4677, allocations: 4.375 kB / 0.5612 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.4677, allocations: 11.94 kB / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.4679, allocations: 71.33 kB / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.468, allocations: 0 / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.468, allocations: 0 / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.468, allocations: 3.984 kB / 0.5612 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.4681, allocations: 16 kB / 0.5613 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.4685, allocations: 256 kB / 0.5615 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.4688, allocations: 62.55 kB / 0.5616 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.4688, allocations: 24.97 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.4689, allocations: 4 kB / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.4691, allocations: 71.38 kB / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.4691, allocations: 0 / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006828/0.4697, allocations: 209.3 kB / 0.5619 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.4698, allocations: 85.05 kB / 0.5619 GB, free: 2.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.47, allocations: 165.8 kB / 0.5621 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.4701, allocations: 37.69 kB / 0.5621 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.4701, allocations: 92.14 kB / 0.5622 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.4702, allocations: 35.83 kB / 0.5623 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.4702, allocations: 29.66 kB / 0.5623 GB, free: 2.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4704, allocations: 330.8 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.4705, allocations: 27.98 kB / 0.5626 GB, free: 1.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4706, allocations: 58.55 kB / 0.5627 GB, free: 1.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4708, allocations: 73.64 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4708, allocations: 8.031 kB / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002436/0.471, allocations: 117.6 kB / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.471, allocations: 6.344 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.471, allocations: 4 kB / 0.5629 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.471, allocations: 3.984 kB / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4712, allocations: 23.92 kB / 0.5629 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4712, allocations: 3.938 kB / 0.5629 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.4712, allocations: 11.94 kB / 0.5629 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.4712, allocations: 11.98 kB / 0.5629 GB, free: 1.551 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 (13): * Single equations (assignments): 13 * 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.0001192/0.4714, allocations: 125.8 kB / 0.5631 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.4714, allocations: 11.91 kB / 0.5631 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.4717, allocations: 126.3 kB / 0.5632 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4717, allocations: 0 / 0.5632 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.4717, allocations: 7.922 kB / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4717, allocations: 0 / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.4723, allocations: 402.3 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4723, allocations: 3.938 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.4724, allocations: 12 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4724, allocations: 0 / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4724, allocations: 8 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4724, allocations: 0 / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4724, allocations: 0 / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.4727, allocations: 220.4 kB / 0.5638 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.4727, allocations: 19.84 kB / 0.5638 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.4727, allocations: 0 / 0.5638 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.4728, allocations: 7.984 kB / 0.5638 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.4729, allocations: 11.98 kB / 0.5638 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.4729, allocations: 4 kB / 0.5639 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.473, allocations: 127.2 kB / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.473, allocations: 0 / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000344/0.4734, allocations: 51.86 kB / 0.564 GB, free: 352 kB / 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 (10): * Single equations (assignments): 8 * 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.002779/0.4761, allocations: 1.207 MB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.4764, allocations: 75.84 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.4764, allocations: 4 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.4765, allocations: 27.92 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.4769, allocations: 32.31 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.4791, allocations: 1.679 MB / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.4795, allocations: 0.7006 MB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.113e-05/0.4796, allocations: 28.41 kB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.4797, allocations: 35.42 kB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4797, allocations: 0 / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.5123, allocations: 4.435 MB / 0.572 GB, free: 8.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.43, allocations: 6.75 kB / 0.5721 GB, free: 8.227 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.654873880004743]