Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001987/0.001987, 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.002175/0.002175, 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.548/1.548, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2611/0.2611, allocations: 46.96 MB / 361.7 MB, free: 4.047 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 0.4969 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3813, allocations: 66.02 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003382/0.3846, allocations: 1.737 MB / 0.5631 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3864, allocations: 0.9637 MB / 0.5641 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.3865, allocations: 8 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.3869, allocations: 91.67 kB / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.3872, allocations: 123.5 kB / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3874, allocations: 75.73 kB / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.3876, allocations: 123.6 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3878, allocations: 17.8 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.3879, allocations: 55.77 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.388, allocations: 75.73 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.388, allocations: 4 kB / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3881, allocations: 67.97 kB / 0.5647 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.3882, allocations: 31.78 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.3883, allocations: 27.81 kB / 0.5647 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.3885, allocations: 147.4 kB / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.792e-05/0.3885, allocations: 0 / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3885, allocations: 0 / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3885, allocations: 0 / 0.5649 GB, free: 0.6602 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.0006192/0.3892, allocations: 377.3 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3892, allocations: 8.031 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.554e-05/0.3892, allocations: 4.188 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.3893, allocations: 38.73 kB / 0.5653 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.3893, allocations: 24.78 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3896, allocations: 151.1 kB / 0.5654 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.3896, allocations: 4.391 kB / 0.5655 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.3897, allocations: 7.938 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3898, allocations: 61.66 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3899, allocations: 0 / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3899, allocations: 3.984 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.3899, allocations: 4 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.39, allocations: 23.98 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.3904, allocations: 275.8 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.3907, allocations: 58.48 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.3908, allocations: 24.97 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3908, allocations: 4 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.391, allocations: 79.3 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.391, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008753/0.3919, allocations: 249.3 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3919, allocations: 63.28 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3922, allocations: 243 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3922, allocations: 25.7 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3923, allocations: 116.1 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.3924, allocations: 31.73 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3924, allocations: 29.7 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3926, allocations: 326.8 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.3927, allocations: 27.98 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.3928, allocations: 45.7 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3929, allocations: 81.64 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3929, allocations: 4 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002543/0.3932, allocations: 137.5 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3932, allocations: 4 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3932, allocations: 0 / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3932, allocations: 4 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.3933, allocations: 27.92 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3933, allocations: 0 / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.3934, allocations: 8 kB / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3934, allocations: 4 kB / 0.5673 GB, free: 13.92 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.0001331/0.3935, allocations: 137.8 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.3935, allocations: 15.91 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.3939, allocations: 155.2 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3939, allocations: 7.938 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3939, allocations: 0 / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3939, allocations: 3.984 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.3945, allocations: 423.1 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3945, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.3946, allocations: 19.98 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3946, allocations: 4 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3946, allocations: 4 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3946, allocations: 0.7969 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.3946, allocations: 11.88 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.395, allocations: 241.1 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.395, allocations: 15.91 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.395, allocations: 4 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.3951, allocations: 3.984 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.3952, allocations: 11.98 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.3952, allocations: 12 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.3954, allocations: 175.2 kB / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3954, allocations: 0 / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.3957, allocations: 31.94 kB / 0.5686 GB, free: 12.57 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.002664/0.3983, allocations: 1.231 MB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.3986, allocations: 75.91 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3986, allocations: 7.938 kB / 0.5698 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3987, allocations: 39.98 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3991, allocations: 34.92 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.4014, allocations: 1.86 MB / 0.5717 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.4016, allocations: 101.8 kB / 0.5718 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.4016, allocations: 28.69 kB / 0.5718 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.4017, allocations: 43.42 kB / 0.5719 GB, free: 9.254 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4017, allocations: 0 / 0.5719 GB, free: 9.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.4258, allocations: 4.317 MB / 0.5761 GB, free: 5.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.86, allocations: 10.66 kB / 0.5761 GB, free: 5.012 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.189087326987647]