Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.00169/0.00169, allocations: 117.8 kB / 17.13 MB, free: 5.777 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.001888/0.001888, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.658/1.658, allocations: 207.6 MB / 230.5 MB, free: 3.969 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.3714/0.3714, allocations: 44.23 MB / 326.5 MB, free: 6.812 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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.002391/0.002391, allocations: 75.89 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3004, allocations: 61 MB / 0.511 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002552/0.3029, allocations: 1.71 MB / 0.5127 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.304, allocations: 0.8161 MB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.3041, allocations: 1.469 kB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3044, allocations: 42.31 kB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.3046, allocations: 55.23 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.3048, allocations: 95.91 kB / 0.5136 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3049, allocations: 90.83 kB / 0.5137 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.305, allocations: 12.62 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.3051, allocations: 38.72 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.3052, allocations: 33.41 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3052, allocations: 4.312 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.3053, allocations: 43.08 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.3053, allocations: 22.5 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.3054, allocations: 30.7 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3056, allocations: 115.6 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3056, allocations: 7.984 kB / 0.514 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3056, allocations: 0 / 0.514 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3056, allocations: 1.812 kB / 0.514 GB, free: 10.92 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.0004396/0.306, allocations: 407.2 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.306, allocations: 16.77 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.3061, allocations: 44.48 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3061, allocations: 13.22 kB / 0.5145 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3063, allocations: 206.8 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3064, allocations: 6.531 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3064, allocations: 9.688 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3065, allocations: 51.89 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3065, allocations: 0 / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3065, allocations: 4 kB / 0.5147 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3065, allocations: 0 / 0.5147 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.3066, allocations: 21.89 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.3069, allocations: 286.2 kB / 0.515 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.307, allocations: 55.83 kB / 0.5151 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.3071, allocations: 21.09 kB / 0.5151 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3071, allocations: 1.375 kB / 0.5151 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.3072, allocations: 73.03 kB / 0.5152 GB, free: 9.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3072, allocations: 0 / 0.5152 GB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004865/0.3077, allocations: 181 kB / 0.5154 GB, free: 9.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.3078, allocations: 52.78 kB / 0.5154 GB, free: 9.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3079, allocations: 186.2 kB / 0.5156 GB, free: 9.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3079, allocations: 31.08 kB / 0.5156 GB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.308, allocations: 101.6 kB / 0.5157 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.308, allocations: 18.61 kB / 0.5157 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.308, allocations: 24.53 kB / 0.5157 GB, free: 9.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.3081, allocations: 331 kB / 0.5161 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.3081, allocations: 18.98 kB / 0.5161 GB, free: 8.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.3082, allocations: 35.45 kB / 0.5161 GB, free: 8.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.3083, allocations: 66.2 kB / 0.5162 GB, free: 8.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3083, allocations: 1.344 kB / 0.5162 GB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001592/0.3084, allocations: 99.2 kB / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3085, allocations: 9.781 kB / 0.5163 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3085, allocations: 0 / 0.5163 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3085, allocations: 1.344 kB / 0.5163 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.3086, allocations: 25.2 kB / 0.5163 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3086, allocations: 1 kB / 0.5163 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.3086, allocations: 9.656 kB / 0.5163 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3086, allocations: 3.969 kB / 0.5163 GB, free: 8.727 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 6.903e-05/0.3087, allocations: 123.3 kB / 0.5164 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.3087, allocations: 12.58 kB / 0.5165 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.3088, allocations: 24.64 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3088, allocations: 1.125 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3088, allocations: 1.5 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3088, allocations: 3.938 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.3091, allocations: 392.3 kB / 0.5169 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3091, allocations: 1.281 kB / 0.5169 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.3091, allocations: 7.625 kB / 0.5169 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3092, allocations: 5.281 kB / 0.5169 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3092, allocations: 13.19 kB / 0.5169 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3092, allocations: 5.016 kB / 0.5169 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3092, allocations: 1.125 kB / 0.5169 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.3093, allocations: 191.4 kB / 0.5171 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.3094, allocations: 92.27 kB / 0.5172 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3094, allocations: 5.5 kB / 0.5172 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.3095, allocations: 7.031 kB / 0.5172 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.3095, allocations: 7.234 kB / 0.5172 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3095, allocations: 4.156 kB / 0.5172 GB, free: 7.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.58e-05/0.3096, allocations: 152.2 kB / 0.5173 GB, free: 7.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3096, allocations: 0 / 0.5173 GB, free: 7.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.3099, allocations: 20.31 kB / 0.5173 GB, free: 7.77 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.3117, allocations: 1.099 MB / 0.5184 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.3119, allocations: 64.11 kB / 0.5185 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3119, allocations: 0 / 0.5185 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.312, allocations: 34.95 kB / 0.5185 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.3123, allocations: 25.64 kB / 0.5185 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3138, allocations: 1.642 MB / 0.5201 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.314, allocations: 0.7041 MB / 0.5208 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.314, allocations: 8.891 kB / 0.5208 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.3141, allocations: 31.42 kB / 0.5209 GB, free: 4.391 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3141, allocations: 0 / 0.5209 GB, free: 4.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.3381, allocations: 3.404 MB / 0.5242 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.539, allocations: 0 / 0.5242 GB, free: 0.9062 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.650250089820474]