Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001266/0.001266, 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.001412/0.001412, 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.466/1.466, 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.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.2378/0.2378, allocations: 44.92 MB / 358.8 MB, free: 6.266 MB / 286.1 MB " [Timeout remaining time 180] 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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.002385/0.002385, allocations: 67.89 kB / 0.4932 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3963, allocations: 65.47 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003422/0.3998, allocations: 1.779 MB / 0.5588 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.4017, allocations: 1.053 MB / 0.5599 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.4018, allocations: 0 / 0.5599 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.4021, allocations: 95.61 kB / 0.5599 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.4025, allocations: 115.6 kB / 0.5601 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.4027, allocations: 83.66 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.403, allocations: 115.7 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.4031, allocations: 21.8 kB / 0.5603 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4032, allocations: 63.7 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.4033, allocations: 71.73 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.4034, allocations: 8 kB / 0.5604 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.4035, allocations: 59.97 kB / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.4036, allocations: 27.91 kB / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.4036, allocations: 39.69 kB / 0.5605 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.4039, allocations: 143.4 kB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.4039, allocations: 3.984 kB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4039, allocations: 0 / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4039, allocations: 0 / 0.5607 GB, free: 4.07 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.0006607/0.4046, allocations: 377.3 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4046, allocations: 12.03 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.4047, allocations: 34.75 kB / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.4047, allocations: 12.84 kB / 0.5611 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.405, allocations: 167 kB / 0.5612 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.405, allocations: 4.312 kB / 0.5612 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.4051, allocations: 15.88 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4053, allocations: 61.66 kB / 0.5613 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4053, allocations: 0 / 0.5613 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4053, allocations: 0 / 0.5613 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4053, allocations: 4 kB / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.33e-05/0.4054, allocations: 23.97 kB / 0.5614 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.4058, allocations: 275.9 kB / 0.5616 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.406, allocations: 54.5 kB / 0.5617 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.4061, allocations: 20.97 kB / 0.5617 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.4061, allocations: 4 kB / 0.5617 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.4063, allocations: 67.39 kB / 0.5618 GB, free: 2.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.4063, allocations: 0 / 0.5618 GB, free: 2.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000822/0.4071, allocations: 249.3 kB / 0.562 GB, free: 2.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.4072, allocations: 59.28 kB / 0.562 GB, free: 2.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.4074, allocations: 231 kB / 0.5623 GB, free: 2.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.4075, allocations: 37.7 kB / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.4075, allocations: 112 kB / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.4076, allocations: 35.73 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.4076, allocations: 29.7 kB / 0.5625 GB, free: 2.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4078, allocations: 326.8 kB / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.4079, allocations: 27.98 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.19e-05/0.408, allocations: 49.64 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.4081, allocations: 77.7 kB / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4081, allocations: 0 / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002245/0.4083, allocations: 125.5 kB / 0.5631 GB, free: 1.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4084, allocations: 6.656 kB / 0.5631 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4084, allocations: 7.984 kB / 0.5631 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4084, allocations: 0 / 0.5631 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.4085, allocations: 23.88 kB / 0.5631 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.4085, allocations: 4 kB / 0.5631 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.4085, allocations: 12.02 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4085, allocations: 4 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001466/0.4087, allocations: 125.8 kB / 0.5632 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.4087, allocations: 27.83 kB / 0.5633 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.409, allocations: 151.6 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.409, allocations: 7.938 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.409, allocations: 0 / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.409, allocations: 0 / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.4096, allocations: 431.1 kB / 0.5638 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4096, allocations: 0 / 0.5638 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.4097, allocations: 15.98 kB / 0.5638 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4097, allocations: 0 / 0.5638 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4097, allocations: 4 kB / 0.5638 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4097, allocations: 0 / 0.5638 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4097, allocations: 0 / 0.5638 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.41, allocations: 245 kB / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.41, allocations: 15.89 kB / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4101, allocations: 4 kB / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.4101, allocations: 4 kB / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.4102, allocations: 7.984 kB / 0.5641 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.4102, allocations: 8.094 kB / 0.5641 GB, free: 240 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.4104, allocations: 179.2 kB / 0.5643 GB, free: 60 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4104, allocations: 0 / 0.5643 GB, free: 60 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.4107, allocations: 31.94 kB / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002518/0.4132, allocations: 1.181 MB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.4134, allocations: 67.86 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4134, allocations: 4 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.282e-05/0.4135, allocations: 35.92 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4139, allocations: 31.72 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.4162, allocations: 1.857 MB / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.4166, allocations: 0.7119 MB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.223e-05/0.4167, allocations: 24.62 kB / 0.5681 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-05/0.4167, allocations: 43.42 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4167, allocations: 0 / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.4506, allocations: 4.14 MB / 0.5722 GB, free: 8.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.46, allocations: 10.38 kB / 0.5722 GB, free: 8.055 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.514851245097816]