Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001356/0.001356, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001669/0.001669, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2475/0.2475, allocations: 46.96 MB / 361.7 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] 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.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 67.89 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3802, allocations: 66.02 MB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003464/0.3837, allocations: 1.928 MB / 0.5633 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.3857, allocations: 1.139 MB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.3858, allocations: 3.938 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.3865, allocations: 203.4 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.387, allocations: 207.2 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.3874, allocations: 167.3 kB / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.3877, allocations: 271.2 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3878, allocations: 20.58 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.388, allocations: 107.5 kB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3882, allocations: 131.4 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.3882, allocations: 12 kB / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.3883, allocations: 59.97 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.3884, allocations: 55.81 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.245e-05/0.3885, allocations: 71.48 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.3889, allocations: 252.8 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3889, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3889, allocations: 4 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3889, allocations: 0 / 0.5659 GB, free: 15.61 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008205/0.3897, allocations: 0.4905 MB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3897, allocations: 8.031 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.791e-05/0.3898, allocations: 4.188 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.3898, allocations: 34.75 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.3899, allocations: 24.8 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.3902, allocations: 226.6 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3902, allocations: 8.125 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.3902, allocations: 8 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3905, allocations: 137.8 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3905, allocations: 0 / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3905, allocations: 3.938 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3905, allocations: 0 / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3906, allocations: 47.97 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.3911, allocations: 344.6 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3914, allocations: 109.3 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3916, allocations: 53.62 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3916, allocations: 4 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.3918, allocations: 121 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3918, allocations: 0 / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004816/0.3923, allocations: 189.4 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.3924, allocations: 102.8 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.3928, allocations: 368.4 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3928, allocations: 37.7 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3929, allocations: 136.1 kB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3929, allocations: 31.75 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.393, allocations: 33.7 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3931, allocations: 334.8 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.3932, allocations: 31.98 kB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3934, allocations: 136.5 kB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.3936, allocations: 99.34 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3936, allocations: 4.031 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003036/0.3939, allocations: 153.5 kB / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3939, allocations: 4 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3939, allocations: 0.625 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.394, allocations: 7.984 kB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3941, allocations: 19.98 kB / 0.5691 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3941, allocations: 7.938 kB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.3942, allocations: 15.83 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3942, allocations: 20.05 kB / 0.5691 GB, free: 12.02 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001487/0.3943, allocations: 145.8 kB / 0.5693 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.3944, allocations: 27.81 kB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.3948, allocations: 179.5 kB / 0.5695 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3948, allocations: 0 / 0.5695 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3948, allocations: 0 / 0.5695 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3948, allocations: 7.922 kB / 0.5695 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3951, allocations: 212.7 kB / 0.5697 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3951, allocations: 3.938 kB / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.3951, allocations: 19.98 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3951, allocations: 3.938 kB / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3951, allocations: 0 / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.3951, allocations: 4 kB / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3951, allocations: 0 / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.3955, allocations: 209.6 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.3955, allocations: 23.8 kB / 0.5699 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.3956, allocations: 7.984 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.3957, allocations: 4 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.3957, allocations: 15.92 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3957, allocations: 15.98 kB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.396, allocations: 263 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.396, allocations: 0 / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3963, allocations: 36 kB / 0.5702 GB, free: 10.78 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002244/0.3986, allocations: 1.071 MB / 0.5713 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.3989, allocations: 99.83 kB / 0.5714 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3989, allocations: 8.062 kB / 0.5714 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.399, allocations: 51.91 kB / 0.5714 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3994, allocations: 78.23 kB / 0.5715 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.4026, allocations: 2.369 MB / 0.5738 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.4027, allocations: 140.8 kB / 0.574 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.4028, allocations: 34.08 kB / 0.574 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.403, allocations: 67.41 kB / 0.5741 GB, free: 6.906 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.403, allocations: 0 / 0.5741 GB, free: 6.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.4315, allocations: 6.365 MB / 0.5803 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.06, allocations: 15.12 kB / 0.5803 GB, free: 0.6289 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.331159916939214]