Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 107.4 kB / 20.48 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 213.1 kB / 23.77 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 257.5 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.95 MB / 360.9 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003338/0.003338, allocations: 79.88 kB / 0.4963 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3917, allocations: 66.09 MB / 0.5608 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004094/0.3958, allocations: 1.78 MB / 0.5626 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.3979, allocations: 1.044 MB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.3979, allocations: 4 kB / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.3985, allocations: 315.2 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.399, allocations: 263.2 kB / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.3993, allocations: 99.7 kB / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004299/0.3997, allocations: 267.2 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.3998, allocations: 9.797 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3999, allocations: 131.5 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.4002, allocations: 215.4 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.4003, allocations: 12 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.4004, allocations: 47.98 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.4006, allocations: 143.5 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.4008, allocations: 115.1 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.4013, allocations: 388 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4013, allocations: 0 / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4013, allocations: 0 / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4013, allocations: 0 / 0.5655 GB, free: 15.16 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.001147/0.4024, allocations: 0.6785 MB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.4025, allocations: 12.03 kB / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.4025, allocations: 38.75 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.76e-05/0.4026, allocations: 52.61 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.4034, allocations: 394.5 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4034, allocations: 384 / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.4034, allocations: 4.375 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.4037, allocations: 103.4 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4037, allocations: 0 / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4037, allocations: 4 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4037, allocations: 0 / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.4039, allocations: 39.97 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.4044, allocations: 337.4 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.4047, allocations: 105.2 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.4048, allocations: 33.7 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.4048, allocations: 7.984 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.4051, allocations: 120.9 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.4051, allocations: 4 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005788/0.4057, allocations: 205.2 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.4058, allocations: 85.11 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.4071, allocations: 1.058 MB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.4071, allocations: 29.7 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.4073, allocations: 240.1 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.4074, allocations: 27.8 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.4074, allocations: 25.72 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4076, allocations: 366.8 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4077, allocations: 39.97 kB / 0.5694 GB, free: 10.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.4078, allocations: 63.36 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.408, allocations: 87.41 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.408, allocations: 0 / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003977/0.4084, allocations: 185.1 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4085, allocations: 8 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4085, allocations: 0 / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4085, allocations: 4.688 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.4086, allocations: 23.98 kB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4086, allocations: 0 / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.4087, allocations: 11.94 kB / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4087, allocations: 4 kB / 0.5698 GB, free: 10.56 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.000241/0.409, allocations: 234.6 kB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.712e-05/0.409, allocations: 59.55 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.4095, allocations: 213.8 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4095, allocations: 0 / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4095, allocations: 4 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4095, allocations: 0 / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.4098, allocations: 296.6 kB / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4098, allocations: 3.938 kB / 0.5705 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.4099, allocations: 8 kB / 0.5705 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4099, allocations: 0 / 0.5705 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4099, allocations: 7.984 kB / 0.5705 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4099, allocations: 0 / 0.5705 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4099, allocations: 0 / 0.5705 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.4103, allocations: 225.5 kB / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4104, allocations: 71.53 kB / 0.5708 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.4105, allocations: 7.984 kB / 0.5708 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.4106, allocations: 8 kB / 0.5708 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.4106, allocations: 7.984 kB / 0.5709 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.4106, allocations: 4 kB / 0.5709 GB, free: 9.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.4117, allocations: 0.7994 MB / 0.5716 GB, free: 8.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4117, allocations: 3.938 kB / 0.5716 GB, free: 8.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.412, allocations: 44 kB / 0.5717 GB, free: 8.512 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.002373/0.4143, allocations: 1.082 MB / 0.5727 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.4146, allocations: 87.83 kB / 0.5728 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4146, allocations: 4 kB / 0.5728 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.4148, allocations: 43.91 kB / 0.5729 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.4153, allocations: 69.02 kB / 0.5729 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/0.4218, allocations: 4.591 MB / 0.5774 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.4221, allocations: 245.7 kB / 0.5777 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.4222, allocations: 50.95 kB / 0.5777 GB, free: 2.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.4225, allocations: 156.4 kB / 0.5778 GB, free: 2.18 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4225, allocations: 0 / 0.5778 GB, free: 2.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03971/0.4622, allocations: 10.08 MB / 0.5877 GB, free: 8.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.97, allocations: 3.375 kB / 0.5877 GB, free: 8.129 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.162384178023785]