Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001351/0.001351, allocations: 119.6 kB / 20.44 MB, free: 1.32 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.002639/0.002639, allocations: 217.2 kB / 23.74 MB, free: 4.551 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.565/1.565, 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.2575/0.2575, allocations: 44.92 MB / 358.8 MB, free: 6.285 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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.002086/0.002086, allocations: 63.91 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3925, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004576/0.397, allocations: 1.934 MB / 0.559 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.3996, allocations: 1.155 MB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3998, allocations: 3.938 kB / 0.5601 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.4003, allocations: 163.5 kB / 0.5603 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.4008, allocations: 183.3 kB / 0.5605 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.4011, allocations: 115.7 kB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.4015, allocations: 247.3 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.4016, allocations: 31.7 kB / 0.5608 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.4018, allocations: 111.6 kB / 0.5609 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.402, allocations: 147.5 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.4021, allocations: 8 kB / 0.5611 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.4022, allocations: 59.98 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.4023, allocations: 63.69 kB / 0.5612 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4024, allocations: 87.3 kB / 0.5613 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.4028, allocations: 223 kB / 0.5615 GB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4028, allocations: 3.938 kB / 0.5615 GB, free: 3.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4028, allocations: 0 / 0.5615 GB, free: 3.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.4028, allocations: 0 / 0.5615 GB, free: 3.223 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008789/0.4037, allocations: 480.5 kB / 0.562 GB, free: 2.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4038, allocations: 12.03 kB / 0.562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.4038, allocations: 34.75 kB / 0.562 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.4039, allocations: 28.75 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.4043, allocations: 226.6 kB / 0.5622 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4044, allocations: 384 / 0.5622 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.4044, allocations: 15.94 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.4047, allocations: 115.2 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4047, allocations: 0 / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.4047, allocations: 7.938 kB / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4047, allocations: 4 kB / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.4048, allocations: 43.97 kB / 0.5624 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.4055, allocations: 435.8 kB / 0.5628 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.4059, allocations: 121.2 kB / 0.563 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.406, allocations: 41.83 kB / 0.563 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.4061, allocations: 4.141 kB / 0.563 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.4063, allocations: 121 kB / 0.5631 GB, free: 1.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.4063, allocations: 0 / 0.5631 GB, free: 1.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00134/0.4077, allocations: 0.5008 MB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.4077, allocations: 89.05 kB / 0.5637 GB, free: 0.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.4082, allocations: 368.5 kB / 0.564 GB, free: 428 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.4082, allocations: 33.7 kB / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4083, allocations: 140.5 kB / 0.5642 GB, free: 240 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.4084, allocations: 75.38 kB / 0.5643 GB, free: 164 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.4085, allocations: 45.7 kB / 0.5643 GB, free: 112 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4087, allocations: 342.8 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.4088, allocations: 55.97 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.4089, allocations: 91.34 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.4092, allocations: 159.3 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4092, allocations: 0 / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004346/0.4097, allocations: 233.2 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4097, allocations: 10.66 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4097, allocations: 0 / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.4097, allocations: 7.984 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.4099, allocations: 47.91 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4099, allocations: 4 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.41, allocations: 16 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.41, allocations: 7.984 kB / 0.5653 GB, free: 15.12 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002016/0.4102, allocations: 162.3 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.4102, allocations: 31.75 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.4108, allocations: 260.6 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4108, allocations: 7.938 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4108, allocations: 3.938 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4108, allocations: 7.984 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.4118, allocations: 0.6912 MB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4118, allocations: 0 / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-05/0.4119, allocations: 31.92 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4119, allocations: 4.125 kB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.4119, allocations: 11.98 kB / 0.5664 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4119, allocations: 0 / 0.5664 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.4119, allocations: 11.94 kB / 0.5664 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.4125, allocations: 427.5 kB / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.4125, allocations: 19.86 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.4126, allocations: 8 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4127, allocations: 7.984 kB / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.4128, allocations: 19.92 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.4128, allocations: 11.98 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002956/0.4131, allocations: 279 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4131, allocations: 4 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.4135, allocations: 51.92 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002762/0.4162, allocations: 1.367 MB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.4166, allocations: 151.8 kB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4166, allocations: 0 / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.4168, allocations: 76.22 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.4174, allocations: 71.91 kB / 0.5689 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.4209, allocations: 2.719 MB / 0.5715 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.4213, allocations: 0.7597 MB / 0.5722 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.4214, allocations: 41.92 kB / 0.5723 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.4216, allocations: 87.41 kB / 0.5724 GB, free: 7.758 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4216, allocations: 0 / 0.5724 GB, free: 7.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.4586, allocations: 6.348 MB / 0.5786 GB, free: 1.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.62, allocations: 3.859 kB / 0.5786 GB, free: 1.48 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.825835397001356]