Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001682/0.001682, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.001822/0.001822, allocations: 212 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 8 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.2481/0.2481, allocations: 44.9 MB / 358.8 MB, free: 6.289 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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.002393/0.002393, allocations: 63.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3853, allocations: 65.47 MB / 0.5571 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004052/0.3894, allocations: 1.846 MB / 0.5589 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.3915, allocations: 1.112 MB / 0.56 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3916, allocations: 7.938 kB / 0.56 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.3923, allocations: 307.3 kB / 0.5603 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005615/0.3928, allocations: 263.1 kB / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.3931, allocations: 111.7 kB / 0.5606 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.3935, allocations: 275.2 kB / 0.5609 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.453e-05/0.3936, allocations: 5.812 kB / 0.5609 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.3938, allocations: 135.5 kB / 0.561 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.3941, allocations: 215.4 kB / 0.5612 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3941, allocations: 8 kB / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3942, allocations: 43.98 kB / 0.5613 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3944, allocations: 143.6 kB / 0.5614 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.3946, allocations: 150.7 kB / 0.5616 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.395, allocations: 384 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.395, allocations: 4 kB / 0.5619 GB, free: 2.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.395, allocations: 0 / 0.5619 GB, free: 2.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.395, allocations: 0 / 0.5619 GB, free: 2.789 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001063/0.3961, allocations: 0.6864 MB / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3961, allocations: 8.031 kB / 0.5626 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.3962, allocations: 38.62 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.3963, allocations: 56.59 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.3969, allocations: 394.5 kB / 0.5631 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.397, allocations: 8.375 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.397, allocations: 11.92 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.3972, allocations: 83.38 kB / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3972, allocations: 0 / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3972, allocations: 0 / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3972, allocations: 0 / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.3974, allocations: 35.91 kB / 0.5632 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.3978, allocations: 353.4 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3981, allocations: 105.1 kB / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3982, allocations: 41.69 kB / 0.5637 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3982, allocations: 4 kB / 0.5637 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.3984, allocations: 109 kB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3984, allocations: 0 / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004959/0.3989, allocations: 201.4 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.399, allocations: 85.09 kB / 0.5641 GB, free: 420 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4002, allocations: 1.054 MB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4002, allocations: 25.7 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4004, allocations: 244 kB / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.4005, allocations: 31.78 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.4005, allocations: 25.72 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4008, allocations: 374.8 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.4008, allocations: 31.98 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.401, allocations: 55.42 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.4011, allocations: 87.34 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4012, allocations: 3.938 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003133/0.4015, allocations: 177.2 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4015, allocations: 4 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.4015, allocations: 4 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4015, allocations: 0 / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4016, allocations: 27.86 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.4016, allocations: 4 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.4017, allocations: 11.92 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4017, allocations: 4 kB / 0.5662 GB, free: 14.2 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.0002672/0.402, allocations: 234.1 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.4021, allocations: 59.61 kB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.4025, allocations: 201.9 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4025, allocations: 3.938 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4025, allocations: 4 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4025, allocations: 0 / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.4029, allocations: 316.5 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4029, allocations: 0 / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.403, allocations: 11.98 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.403, allocations: 4 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.403, allocations: 8 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.403, allocations: 0 / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.403, allocations: 0 / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.4033, allocations: 221.4 kB / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.4035, allocations: 63.59 kB / 0.5672 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.4035, allocations: 11.98 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.4036, allocations: 8 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.4037, allocations: 7.984 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.4037, allocations: 4 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008916/0.4046, allocations: 0.7839 MB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4046, allocations: 0 / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.4049, allocations: 47.98 kB / 0.5681 GB, free: 12.15 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.002133/0.407, allocations: 1.063 MB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.4073, allocations: 83.89 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4073, allocations: 0 / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.4074, allocations: 40.05 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.4078, allocations: 77.61 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.4137, allocations: 4.571 MB / 0.5738 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.4142, allocations: 0.8545 MB / 0.5746 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.4143, allocations: 66.92 kB / 0.5747 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.4146, allocations: 151.4 kB / 0.5748 GB, free: 5.258 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4146, allocations: 0 / 0.5748 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0399/0.4545, allocations: 9.372 MB / 0.584 GB, free: 11.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.21, allocations: 3.125 kB / 0.584 GB, free: 11.96 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.576508837053552]