Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001616/0.001616, allocations: 117.7 kB / 17.13 MB, free: 5.926 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.001917/0.001917, allocations: 192.7 kB / 20.07 MB, free: 2.992 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.533/1.533, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3705/0.3705, allocations: 44.23 MB / 326.5 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 180] 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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.002141/0.002141, allocations: 75.89 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2993, allocations: 61 MB / 0.511 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002914/0.3022, allocations: 1.707 MB / 0.5126 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3034, allocations: 0.8185 MB / 0.5134 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.3035, allocations: 0 / 0.5134 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.3038, allocations: 33.41 kB / 0.5135 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.304, allocations: 64.84 kB / 0.5135 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3043, allocations: 81.95 kB / 0.5136 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3044, allocations: 101.3 kB / 0.5137 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3046, allocations: 9.594 kB / 0.5137 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.3046, allocations: 42.12 kB / 0.5138 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.3047, allocations: 34.69 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3047, allocations: 4.312 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3049, allocations: 42.42 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.3049, allocations: 16.95 kB / 0.5139 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.305, allocations: 31.19 kB / 0.5139 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3052, allocations: 114.6 kB / 0.514 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3053, allocations: 4 kB / 0.514 GB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3053, allocations: 0 / 0.514 GB, free: 11.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3053, allocations: 0 / 0.514 GB, free: 11.01 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.0005789/0.3058, allocations: 406.2 kB / 0.5144 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.3059, allocations: 17.48 kB / 0.5144 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.3059, allocations: 36.12 kB / 0.5144 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.306, allocations: 14.33 kB / 0.5145 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3063, allocations: 202 kB / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3063, allocations: 1.75 kB / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3063, allocations: 10.69 kB / 0.5147 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3065, allocations: 50.05 kB / 0.5147 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3065, allocations: 3.953 kB / 0.5147 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3065, allocations: 5.312 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3065, allocations: 4 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.3066, allocations: 18.89 kB / 0.5147 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.307, allocations: 289.4 kB / 0.515 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3071, allocations: 55.3 kB / 0.5151 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.3072, allocations: 20.86 kB / 0.5151 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3072, allocations: 1.344 kB / 0.5151 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.3074, allocations: 69.55 kB / 0.5152 GB, free: 9.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3074, allocations: 0 / 0.5152 GB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005912/0.3079, allocations: 173.3 kB / 0.5153 GB, free: 9.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.308, allocations: 52.72 kB / 0.5154 GB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3081, allocations: 171.8 kB / 0.5155 GB, free: 9.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.3081, allocations: 38.81 kB / 0.5156 GB, free: 9.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.3082, allocations: 96.8 kB / 0.5157 GB, free: 9.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3082, allocations: 27.31 kB / 0.5157 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3083, allocations: 20.28 kB / 0.5157 GB, free: 9.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.3083, allocations: 321.8 kB / 0.516 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.3084, allocations: 23.17 kB / 0.516 GB, free: 8.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.3084, allocations: 44.02 kB / 0.5161 GB, free: 8.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.3086, allocations: 58.97 kB / 0.5161 GB, free: 8.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3086, allocations: 0 / 0.5161 GB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.3088, allocations: 108.1 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3088, allocations: 4.062 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3088, allocations: 1 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3088, allocations: 0.75 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.3089, allocations: 21.27 kB / 0.5163 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3089, allocations: 1.438 kB / 0.5163 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.3089, allocations: 10.75 kB / 0.5163 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3089, allocations: 2.812 kB / 0.5163 GB, free: 8.836 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 7.843e-05/0.309, allocations: 124.8 kB / 0.5164 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.309, allocations: 9.484 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.3091, allocations: 12.78 kB / 0.5164 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3091, allocations: 1.188 kB / 0.5164 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3091, allocations: 0 / 0.5164 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3091, allocations: 5.219 kB / 0.5164 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.3095, allocations: 395.7 kB / 0.5168 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3095, allocations: 1.5 kB / 0.5168 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.3095, allocations: 11.73 kB / 0.5168 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3095, allocations: 3.938 kB / 0.5168 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3095, allocations: 6.469 kB / 0.5168 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3095, allocations: 3.938 kB / 0.5168 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3095, allocations: 1.25 kB / 0.5168 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.3097, allocations: 204.7 kB / 0.517 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.3098, allocations: 87.7 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.3098, allocations: 9.266 kB / 0.5171 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.3098, allocations: 1.375 kB / 0.5171 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3099, allocations: 8.125 kB / 0.5171 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3099, allocations: 6.734 kB / 0.5171 GB, free: 7.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.31, allocations: 131.5 kB / 0.5173 GB, free: 7.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.31, allocations: 5.375 kB / 0.5173 GB, free: 7.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00026/0.3102, allocations: 23.06 kB / 0.5173 GB, free: 7.887 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.001877/0.3121, allocations: 1.11 MB / 0.5184 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.3123, allocations: 55.48 kB / 0.5184 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3123, allocations: 1.375 kB / 0.5184 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.3124, allocations: 31.19 kB / 0.5185 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3128, allocations: 36.38 kB / 0.5185 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3141, allocations: 1.601 MB / 0.52 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3142, allocations: 0.7001 MB / 0.5207 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.657e-05/0.3143, allocations: 16.88 kB / 0.5207 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.3143, allocations: 35.42 kB / 0.5208 GB, free: 4.488 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3143, allocations: 0 / 0.5208 GB, free: 4.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.3382, allocations: 3.338 MB / 0.524 GB, free: 1.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.574, allocations: 5.219 kB / 0.524 GB, free: 1.074 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.558188369963318]