Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001502/0.001502, allocations: 119.9 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.001281/0.001281, allocations: 191.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.55/1.55, allocations: 207.6 MB / 230.5 MB, free: 4.043 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.3786/0.3786, allocations: 44.24 MB / 326.5 MB, free: 6.781 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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.002233/0.002233, allocations: 79.89 kB / 462.2 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3015, allocations: 61 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003525/0.3051, allocations: 1.7 MB / 0.5126 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3066, allocations: 0.8071 MB / 0.5134 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3067, allocations: 5.344 kB / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.3071, allocations: 44.83 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.3073, allocations: 58.06 kB / 0.5135 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.3076, allocations: 84.78 kB / 0.5136 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.3078, allocations: 99.23 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3079, allocations: 11.75 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.308, allocations: 43.69 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.308, allocations: 34.72 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.308, allocations: 3.688 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-05/0.3081, allocations: 38.05 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.3082, allocations: 22.39 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.3082, allocations: 35.36 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.3084, allocations: 114.5 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3084, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3084, allocations: 0.9062 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.3085, allocations: 0 / 0.514 GB, free: 10.84 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.0005149/0.309, allocations: 419.7 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.309, allocations: 12.95 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.3091, allocations: 32.03 kB / 0.5144 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.3091, allocations: 13.5 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3094, allocations: 214.9 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3094, allocations: 1.906 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3094, allocations: 6.125 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3096, allocations: 57.97 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3096, allocations: 5.281 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3096, allocations: 0 / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3096, allocations: 0.8438 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.3097, allocations: 18.98 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.31, allocations: 281.8 kB / 0.515 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3102, allocations: 63.83 kB / 0.5151 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.3102, allocations: 24.75 kB / 0.5151 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3103, allocations: 5.297 kB / 0.5151 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.3104, allocations: 69.41 kB / 0.5152 GB, free: 9.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3104, allocations: 0 / 0.5152 GB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005783/0.311, allocations: 174.3 kB / 0.5153 GB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.311, allocations: 55.41 kB / 0.5154 GB, free: 9.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.3112, allocations: 187.2 kB / 0.5156 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.3112, allocations: 25.7 kB / 0.5156 GB, free: 9.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.3113, allocations: 106.8 kB / 0.5157 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3113, allocations: 18.03 kB / 0.5157 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.3113, allocations: 28.97 kB / 0.5157 GB, free: 9.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.3114, allocations: 321.7 kB / 0.516 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.3114, allocations: 26.98 kB / 0.5161 GB, free: 8.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.3115, allocations: 40.14 kB / 0.5161 GB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.3116, allocations: 51.53 kB / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3116, allocations: 0 / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.3118, allocations: 115.4 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3118, allocations: 4.281 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3118, allocations: 1.25 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3118, allocations: 1.438 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.3119, allocations: 20.23 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3119, allocations: 5.281 kB / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.3119, allocations: 6.688 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3119, allocations: 2.75 kB / 0.5163 GB, free: 8.645 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.393e-05/0.312, allocations: 122.1 kB / 0.5164 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.312, allocations: 13.44 kB / 0.5164 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.3121, allocations: 14.22 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3121, allocations: 0 / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3121, allocations: 5.375 kB / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3121, allocations: 3.938 kB / 0.5165 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.3124, allocations: 397.1 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3124, allocations: 1.375 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.3124, allocations: 10.86 kB / 0.5169 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3124, allocations: 5.688 kB / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3125, allocations: 1.375 kB / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.3125, allocations: 5.609 kB / 0.5169 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3125, allocations: 0 / 0.5169 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3127, allocations: 208.3 kB / 0.5171 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.3127, allocations: 87.77 kB / 0.5171 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3127, allocations: 10.67 kB / 0.5172 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.3128, allocations: 5.375 kB / 0.5172 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.3128, allocations: 4.125 kB / 0.5172 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3128, allocations: 6.734 kB / 0.5172 GB, free: 7.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.699e-05/0.3129, allocations: 145.2 kB / 0.5173 GB, free: 7.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3129, allocations: 0 / 0.5173 GB, free: 7.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3132, allocations: 24.48 kB / 0.5173 GB, free: 7.688 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.001914/0.3151, allocations: 1.107 MB / 0.5184 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3153, allocations: 60.89 kB / 0.5185 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3153, allocations: 0 / 0.5185 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.44e-05/0.3153, allocations: 23.25 kB / 0.5185 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3157, allocations: 41.55 kB / 0.5185 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.3172, allocations: 1.625 MB / 0.5201 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.3173, allocations: 0.7041 MB / 0.5208 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.3174, allocations: 16.86 kB / 0.5208 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.3174, allocations: 35.42 kB / 0.5209 GB, free: 4.406 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3174, allocations: 0 / 0.5209 GB, free: 4.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3409, allocations: 3.396 MB / 0.5242 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.555, allocations: 3.938 kB / 0.5242 GB, free: 0.9258 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.571042338386178]