Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 114.5 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 191.7 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3916/0.3916, allocations: 44.24 MB / 326.5 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 79.88 kB / 462.2 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3219, allocations: 60.99 MB / 0.511 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002854/0.3247, allocations: 1.712 MB / 0.5126 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3259, allocations: 0.8185 MB / 0.5134 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.651e-05/0.326, allocations: 1.531 kB / 0.5135 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.3263, allocations: 46.3 kB / 0.5135 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3265, allocations: 59.09 kB / 0.5136 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3267, allocations: 86.69 kB / 0.5136 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.3269, allocations: 89.3 kB / 0.5137 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.327, allocations: 23.31 kB / 0.5137 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.327, allocations: 41.77 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.3271, allocations: 27.64 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3271, allocations: 4.531 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.3272, allocations: 42.28 kB / 0.5139 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.3273, allocations: 25.48 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.3273, allocations: 35.98 kB / 0.5139 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3275, allocations: 121.4 kB / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3275, allocations: 5.219 kB / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3275, allocations: 0 / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3275, allocations: 4 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004947/0.328, allocations: 427.4 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3281, allocations: 13.05 kB / 0.5145 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.3281, allocations: 32.06 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3281, allocations: 18.11 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3284, allocations: 213 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3284, allocations: 1.469 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3284, allocations: 10.61 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3286, allocations: 57.95 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3286, allocations: 0 / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3286, allocations: 0 / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3286, allocations: 1.594 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.651e-05/0.3287, allocations: 22.02 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.3291, allocations: 292.5 kB / 0.5151 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3293, allocations: 56.7 kB / 0.5151 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.3293, allocations: 16.42 kB / 0.5151 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3293, allocations: 1.344 kB / 0.5151 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.3295, allocations: 72.48 kB / 0.5152 GB, free: 9.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.3295, allocations: 0 / 0.5152 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006118/0.3301, allocations: 187.5 kB / 0.5154 GB, free: 9.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3301, allocations: 56.56 kB / 0.5154 GB, free: 9.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.3304, allocations: 232.1 kB / 0.5157 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3304, allocations: 29.7 kB / 0.5157 GB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.3304, allocations: 106.1 kB / 0.5158 GB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.3305, allocations: 27.56 kB / 0.5158 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3305, allocations: 22.19 kB / 0.5158 GB, free: 9.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.3306, allocations: 325.7 kB / 0.5162 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.3306, allocations: 27.39 kB / 0.5162 GB, free: 8.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.3307, allocations: 34.95 kB / 0.5162 GB, free: 8.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.3308, allocations: 54.69 kB / 0.5163 GB, free: 8.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3308, allocations: 1.344 kB / 0.5163 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.331, allocations: 107.1 kB / 0.5164 GB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.331, allocations: 5.531 kB / 0.5164 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.331, allocations: 1.156 kB / 0.5164 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.331, allocations: 5.281 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3311, allocations: 16.45 kB / 0.5164 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3311, allocations: 1.5 kB / 0.5164 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.3312, allocations: 6.625 kB / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3312, allocations: 2.656 kB / 0.5164 GB, free: 8.699 MB / 382.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 (10): * Single equations (assignments): 10 * 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 9.746e-05/0.3313, allocations: 130.1 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3313, allocations: 9.453 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.3314, allocations: 14.91 kB / 0.5166 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3314, allocations: 9.359 kB / 0.5166 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3314, allocations: 5.359 kB / 0.5166 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3314, allocations: 3.938 kB / 0.5166 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.3318, allocations: 395.9 kB / 0.517 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3318, allocations: 1.375 kB / 0.517 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.3318, allocations: 10.81 kB / 0.517 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3318, allocations: 5.312 kB / 0.517 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3318, allocations: 9.359 kB / 0.517 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3318, allocations: 1.406 kB / 0.517 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3318, allocations: 4 kB / 0.517 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.3321, allocations: 205.6 kB / 0.5172 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.3321, allocations: 88 kB / 0.5173 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3321, allocations: 6.688 kB / 0.5173 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.3322, allocations: 9.297 kB / 0.5173 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3322, allocations: 8.125 kB / 0.5173 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3323, allocations: 6.75 kB / 0.5173 GB, free: 7.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3324, allocations: 170.2 kB / 0.5175 GB, free: 7.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3324, allocations: 0 / 0.5175 GB, free: 7.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3327, allocations: 24.44 kB / 0.5175 GB, free: 7.719 MB / 382.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: 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 (8): * Single equations (assignments): 6 * 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.002007/0.3347, allocations: 1.11 MB / 0.5186 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3349, allocations: 52.92 kB / 0.5186 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3349, allocations: 4.062 kB / 0.5186 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/0.3349, allocations: 27.05 kB / 0.5186 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3353, allocations: 26.14 kB / 0.5187 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3369, allocations: 1.728 MB / 0.5204 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3371, allocations: 0.7157 MB / 0.5211 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.3371, allocations: 21.17 kB / 0.5211 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.3372, allocations: 35.42 kB / 0.5211 GB, free: 4.145 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3372, allocations: 0 / 0.5211 GB, free: 4.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.3612, allocations: 3.573 MB / 0.5246 GB, free: 0.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.521, allocations: 8.859 kB / 0.5246 GB, free: 0.4922 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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: 11.550844016950577]