Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001696/0.001696, allocations: 115.6 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.002458/0.002458, allocations: 213.4 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2312/0.2312, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.89 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3665, allocations: 66.03 MB / 0.5607 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003335/0.3698, allocations: 1.838 MB / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.3718, allocations: 1.116 MB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.3719, allocations: 3.938 kB / 0.5636 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.3724, allocations: 307.3 kB / 0.5639 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.3729, allocations: 259.2 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3732, allocations: 111.6 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.3735, allocations: 271.2 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.3736, allocations: 9.812 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.3738, allocations: 143.4 kB / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.374, allocations: 211.5 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.374, allocations: 8 kB / 0.5649 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3742, allocations: 51.97 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.3743, allocations: 143.5 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.3745, allocations: 146.8 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.375, allocations: 380 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.375, allocations: 0 / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.375, allocations: 4 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.375, allocations: 0 / 0.5656 GB, free: 15.43 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.001053/0.376, allocations: 0.6902 MB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3761, allocations: 8.031 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3761, allocations: 38.75 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.3762, allocations: 48.61 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.3769, allocations: 398.5 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3769, allocations: 4.375 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.3769, allocations: 11.94 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.3771, allocations: 91.3 kB / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3771, allocations: 0 / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3772, allocations: 0 / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3772, allocations: 4 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3773, allocations: 27.97 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.3777, allocations: 357.4 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.378, allocations: 101.1 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-05/0.3781, allocations: 37.7 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3781, allocations: 4 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.3783, allocations: 117 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 6.632e-06/0.3783, allocations: 3.984 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004921/0.3788, allocations: 193.2 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.3789, allocations: 81.11 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3801, allocations: 1.061 MB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.3801, allocations: 25.7 kB / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.3803, allocations: 240.1 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.3804, allocations: 27.8 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.3804, allocations: 25.72 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.3807, allocations: 366.8 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.3807, allocations: 35.92 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3809, allocations: 67.34 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3811, allocations: 87.92 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3811, allocations: 3.938 kB / 0.5696 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003279/0.3814, allocations: 177.2 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3814, allocations: 11.94 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3814, allocations: 0 / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3814, allocations: 0 / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3816, allocations: 23.98 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3816, allocations: 3.984 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/0.3817, allocations: 11.94 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3817, allocations: 7.984 kB / 0.5698 GB, free: 10.84 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.0002641/0.382, allocations: 225.7 kB / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.382, allocations: 59.62 kB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.3824, allocations: 193.8 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3824, allocations: 4 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3825, allocations: 0 / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.3825, allocations: 3.984 kB / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.3829, allocations: 324.5 kB / 0.5706 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3829, allocations: 0 / 0.5706 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.3829, allocations: 8 kB / 0.5706 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.3829, allocations: 4.25 kB / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3829, allocations: 7.984 kB / 0.5706 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3829, allocations: 4 kB / 0.5706 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.3829, allocations: 4 kB / 0.5706 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3833, allocations: 217.4 kB / 0.5708 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3835, allocations: 71.59 kB / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.3835, allocations: 0 / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.3836, allocations: 11.98 kB / 0.5709 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.3837, allocations: 11.98 kB / 0.5709 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.3837, allocations: 4 kB / 0.5709 GB, free: 9.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009686/0.3847, allocations: 0.7839 MB / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 0 / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3849, allocations: 47.98 kB / 0.5717 GB, free: 8.793 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.002111/0.387, allocations: 1.059 MB / 0.5727 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.3873, allocations: 79.89 kB / 0.5728 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3873, allocations: 0 / 0.5728 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3874, allocations: 39.92 kB / 0.5729 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.3879, allocations: 74.38 kB / 0.5729 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.3938, allocations: 4.567 MB / 0.5774 GB, free: 2.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.3943, allocations: 0.8468 MB / 0.5782 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3944, allocations: 62.94 kB / 0.5783 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.3946, allocations: 151.4 kB / 0.5784 GB, free: 1.914 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3946, allocations: 3.938 kB / 0.5784 GB, free: 1.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.4323, allocations: 9.395 MB / 0.5876 GB, free: 8.605 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.02, allocations: 0 / 0.5876 GB, free: 8.605 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.163531618003617]