Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001736/0.001736, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.002055/0.002055, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2164/0.2164, allocations: 46.92 MB / 360.9 MB, free: 4.258 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.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.91 kB / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3559, allocations: 66.02 MB / 0.5607 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003228/0.3592, allocations: 1.846 MB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3611, allocations: 1.126 MB / 0.5636 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.3612, allocations: 3.938 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.3617, allocations: 303.3 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.3622, allocations: 263.2 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.3624, allocations: 115.6 kB / 0.5643 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.3628, allocations: 263.2 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.3628, allocations: 5.812 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.363, allocations: 143.5 kB / 0.5646 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.3633, allocations: 211.5 kB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3633, allocations: 8 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3634, allocations: 47.98 kB / 0.5649 GB, free: 4 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.3636, allocations: 147.5 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.3637, allocations: 146.8 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.3642, allocations: 380 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3642, allocations: 0 / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3642, allocations: 4 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3642, allocations: 0 / 0.5655 GB, free: 15.34 MB / 414.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.00103/0.3652, allocations: 0.6863 MB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3653, allocations: 11.97 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.3653, allocations: 38.73 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.3654, allocations: 48.61 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.3661, allocations: 402.4 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3661, allocations: 12.36 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3661, allocations: 7.938 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3663, allocations: 91.3 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3663, allocations: 0 / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3663, allocations: 0 / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3663, allocations: 4 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3664, allocations: 27.98 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.3669, allocations: 357.4 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.3671, allocations: 101.1 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/0.3672, allocations: 41.69 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3672, allocations: 4 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.3675, allocations: 109 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.3675, allocations: 0 / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004963/0.368, allocations: 201.7 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.368, allocations: 81.11 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3692, allocations: 1.058 MB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3693, allocations: 25.7 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.3695, allocations: 236.1 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.3695, allocations: 27.8 kB / 0.569 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.3696, allocations: 33.7 kB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.3698, allocations: 366.8 kB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3699, allocations: 31.98 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.37, allocations: 59.41 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3702, allocations: 91.42 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3702, allocations: 3.938 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003133/0.3705, allocations: 177.2 kB / 0.5697 GB, free: 10.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3705, allocations: 8 kB / 0.5697 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3705, allocations: 0 / 0.5697 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3705, allocations: 3.938 kB / 0.5697 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3707, allocations: 27.98 kB / 0.5698 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3707, allocations: 0 / 0.5698 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.3707, allocations: 7.938 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3708, allocations: 4 kB / 0.5698 GB, free: 10.75 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.0002334/0.371, allocations: 233.7 kB / 0.57 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.3711, allocations: 55.62 kB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.3715, allocations: 197.8 kB / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3715, allocations: 4.25 kB / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3715, allocations: 0 / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3715, allocations: 4 kB / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.3718, allocations: 324.5 kB / 0.5706 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3718, allocations: 3.984 kB / 0.5706 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.3719, allocations: 8 kB / 0.5706 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3719, allocations: 8 kB / 0.5706 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3719, allocations: 4 kB / 0.5706 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3719, allocations: 0 / 0.5706 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3719, allocations: 4 kB / 0.5706 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.3722, allocations: 221.4 kB / 0.5708 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3723, allocations: 67.59 kB / 0.5709 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.3724, allocations: 0 / 0.5709 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.3725, allocations: 12 kB / 0.5709 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3725, allocations: 7.984 kB / 0.5709 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.3725, allocations: 7.984 kB / 0.5709 GB, free: 9.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000944/0.3735, allocations: 0.7839 MB / 0.5716 GB, free: 8.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3735, allocations: 0 / 0.5716 GB, free: 8.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3738, allocations: 44 kB / 0.5717 GB, free: 8.703 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.002136/0.3759, allocations: 1.082 MB / 0.5727 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3762, allocations: 71.91 kB / 0.5728 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3762, allocations: 0 / 0.5728 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3763, allocations: 47.91 kB / 0.5729 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3767, allocations: 68.08 kB / 0.5729 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/0.3828, allocations: 4.571 MB / 0.5774 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.3834, allocations: 0.8429 MB / 0.5782 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.3835, allocations: 63.44 kB / 0.5783 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.3838, allocations: 155.4 kB / 0.5784 GB, free: 1.809 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3838, allocations: 0 / 0.5784 GB, free: 1.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.4218, allocations: 9.377 MB / 0.5876 GB, free: 8.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.1, allocations: 3.984 kB / 0.5876 GB, free: 8.512 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.156190125999274]