Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001427/0.001427, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2345/0.2345, allocations: 46.97 MB / 360.9 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 180] 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 0.4962 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 66.04 MB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003252/0.3121, allocations: 1.745 MB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3139, allocations: 0.9793 MB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.314, allocations: 3.938 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.3143, allocations: 111.6 kB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.3147, allocations: 127.5 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.3149, allocations: 87.66 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.3151, allocations: 135.6 kB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3152, allocations: 19.41 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.3153, allocations: 67.75 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3154, allocations: 71.73 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3155, allocations: 4 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3156, allocations: 63.97 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.3157, allocations: 31.92 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.3157, allocations: 47.66 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.316, allocations: 163.3 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.316, allocations: 4 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.316, allocations: 0 / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.316, allocations: 3.938 kB / 0.5642 GB, free: 0.4961 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005911/0.3166, allocations: 393.2 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3166, allocations: 8.031 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.3167, allocations: 38.73 kB / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3167, allocations: 16.84 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.317, allocations: 163.2 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.317, allocations: 4.375 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.317, allocations: 11.92 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3172, allocations: 73.66 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3172, allocations: 3.953 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3172, allocations: 8 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3172, allocations: 0 / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3174, allocations: 39.91 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.3178, allocations: 303.8 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3181, allocations: 70.55 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.3182, allocations: 28.84 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3182, allocations: 0 / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.3184, allocations: 87.31 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3184, allocations: 0 / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009102/0.3193, allocations: 313 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3193, allocations: 59.34 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.3196, allocations: 271.7 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3196, allocations: 25.7 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.3197, allocations: 120.1 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.3198, allocations: 51.72 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.3198, allocations: 37.7 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.32, allocations: 326.8 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.3201, allocations: 39.98 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3202, allocations: 64.64 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.3204, allocations: 105.6 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3204, allocations: 0 / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002979/0.3207, allocations: 169.5 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3207, allocations: 4 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3207, allocations: 0 / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3207, allocations: 7.969 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3208, allocations: 35.92 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3208, allocations: 0 / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.3209, allocations: 8 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3209, allocations: 4 kB / 0.567 GB, free: 13.46 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 (16): * Single equations (assignments): 16 * 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.0001271/0.321, allocations: 137.9 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.321, allocations: 27.78 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.3215, allocations: 202.9 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3215, allocations: 0 / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3215, allocations: 4 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3215, allocations: 0 / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.3222, allocations: 492 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3222, allocations: 0 / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.3222, allocations: 27.92 kB / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3222, allocations: 0 / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3223, allocations: 8 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3223, allocations: 0 / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3223, allocations: 0 / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.3226, allocations: 285.1 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.3227, allocations: 15.86 kB / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.3227, allocations: 15.88 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.3228, allocations: 4 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.3228, allocations: 15.97 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.3228, allocations: 7.938 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.323, allocations: 201.5 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.323, allocations: 0 / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3233, allocations: 35.94 kB / 0.5684 GB, free: 11.91 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 (16): * Single equations (assignments): 14 * 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.002627/0.3259, allocations: 1.256 MB / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3262, allocations: 103.8 kB / 0.5697 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3262, allocations: 4 kB / 0.5697 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.3263, allocations: 51.92 kB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3267, allocations: 50.16 kB / 0.5698 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.3292, allocations: 2.031 MB / 0.5718 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3293, allocations: 119.3 kB / 0.5719 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.009e-05/0.3294, allocations: 25.41 kB / 0.572 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3295, allocations: 59.41 kB / 0.572 GB, free: 8.332 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3295, allocations: 3.938 kB / 0.572 GB, free: 8.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.3596, allocations: 5.072 MB / 0.577 GB, free: 3.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.35, allocations: 10.44 kB / 0.577 GB, free: 3.312 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.29052047431469]