Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001856/0.001856, 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.002511/0.002511, allocations: 212.5 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.723 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.262/0.262, allocations: 46.97 MB / 361.7 MB, free: 4.016 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.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.89 kB / 0.4969 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.39, allocations: 66.04 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003586/0.3936, allocations: 1.722 MB / 0.5631 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3955, allocations: 0.9793 MB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.3956, allocations: 0 / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.396, allocations: 87.69 kB / 0.5642 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.3964, allocations: 119.5 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.3967, allocations: 79.72 kB / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.3969, allocations: 119.6 kB / 0.5645 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.397, allocations: 21.78 kB / 0.5645 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3971, allocations: 55.78 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.3973, allocations: 79.67 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3973, allocations: 4 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3975, allocations: 67.95 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.3975, allocations: 27.86 kB / 0.5647 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.3976, allocations: 31.75 kB / 0.5647 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.3979, allocations: 147.4 kB / 0.5649 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3979, allocations: 0 / 0.5649 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3979, allocations: 0 / 0.5649 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3979, allocations: 0 / 0.5649 GB, free: 0.6641 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.000589/0.3985, allocations: 373.3 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3985, allocations: 16.03 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.3985, allocations: 4.188 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.3986, allocations: 30.75 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.3986, allocations: 20.83 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3989, allocations: 163 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.3989, allocations: 4.391 kB / 0.5655 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.399, allocations: 3.938 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3991, allocations: 61.66 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3991, allocations: 0 / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3992, allocations: 8 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3992, allocations: 4 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.852e-05/0.3993, allocations: 23.97 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.3997, allocations: 271.8 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.3999, allocations: 62.55 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.4, allocations: 16.98 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.4, allocations: 0 / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.4002, allocations: 79.31 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4002, allocations: 0 / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008605/0.4011, allocations: 261.2 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4011, allocations: 55.34 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.4014, allocations: 239 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.4015, allocations: 29.7 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.4015, allocations: 112.1 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.4016, allocations: 35.73 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.4016, allocations: 25.7 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4018, allocations: 330.8 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.727e-05/0.4019, allocations: 27.98 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.402, allocations: 49.08 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4021, allocations: 89.64 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4021, allocations: 0 / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002311/0.4024, allocations: 125.5 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4024, allocations: 8 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4024, allocations: 3.938 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4024, allocations: 3.938 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.4025, allocations: 27.92 kB / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4025, allocations: 4 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.4025, allocations: 4.031 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4026, allocations: 4 kB / 0.5673 GB, free: 13.93 MB / 414.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.0001313/0.4027, allocations: 132.6 kB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.4027, allocations: 19.89 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.403, allocations: 159.6 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4031, allocations: 3.938 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4031, allocations: 0 / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4031, allocations: 0 / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.4036, allocations: 435.1 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4036, allocations: 0 / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.4037, allocations: 15.98 kB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4037, allocations: 4 kB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4037, allocations: 4 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4037, allocations: 4 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4037, allocations: 0 / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.404, allocations: 245 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.404, allocations: 11.91 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.4041, allocations: 8 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.4041, allocations: 12.05 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.4042, allocations: 11.98 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.4042, allocations: 4 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4044, allocations: 175.2 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4044, allocations: 4 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.4046, allocations: 27.94 kB / 0.5686 GB, free: 12.58 MB / 414.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 (12): * Single equations (assignments): 10 * 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.002608/0.4072, allocations: 1.221 MB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.4075, allocations: 91.83 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4075, allocations: 3.938 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.4076, allocations: 39.92 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.4079, allocations: 37.14 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4102, allocations: 1.862 MB / 0.5717 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4103, allocations: 110 kB / 0.5718 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.298e-05/0.4103, allocations: 20.62 kB / 0.5719 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.4104, allocations: 43.42 kB / 0.5719 GB, free: 9.258 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4104, allocations: 0 / 0.5719 GB, free: 9.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.4361, allocations: 4.315 MB / 0.5761 GB, free: 5.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.87, allocations: 7.875 kB / 0.5761 GB, free: 5.016 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.103598505957052]