Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.00139/0.00139, allocations: 113.8 kB / 17.12 MB, free: 5.914 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.001522/0.001522, allocations: 192.6 kB / 20.07 MB, free: 2.98 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.557/1.557, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3611/0.3611, 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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.002159/0.002159, allocations: 79.89 kB / 462.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2588, allocations: 60.99 MB / 0.511 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002515/0.2613, allocations: 1.724 MB / 0.5127 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.2623, allocations: 0.8062 MB / 0.5134 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.2623, allocations: 5.344 kB / 0.5134 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.2626, allocations: 48.27 kB / 0.5135 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.2628, allocations: 57.59 kB / 0.5135 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.263, allocations: 82.33 kB / 0.5136 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2631, allocations: 93.47 kB / 0.5137 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.2632, allocations: 11.77 kB / 0.5137 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/0.2633, allocations: 43.75 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.2633, allocations: 34.73 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2633, allocations: 4.406 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.2634, allocations: 41 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.2634, allocations: 24.17 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.2635, allocations: 31.62 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.2636, allocations: 120 kB / 0.514 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2636, allocations: 0 / 0.514 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2637, allocations: 3.938 kB / 0.514 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2637, allocations: 0 / 0.514 GB, free: 10.81 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.0003931/0.264, allocations: 424.8 kB / 0.5144 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2641, allocations: 13.83 kB / 0.5144 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.311e-05/0.2641, allocations: 35.92 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.2641, allocations: 9.641 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2643, allocations: 212.9 kB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2643, allocations: 5.984 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.2644, allocations: 5.438 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2645, allocations: 54.64 kB / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2645, allocations: 0 / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.2645, allocations: 0 / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.2645, allocations: 5.281 kB / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.2646, allocations: 22.83 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.2648, allocations: 286.3 kB / 0.515 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.265, allocations: 52.78 kB / 0.5151 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.265, allocations: 28.53 kB / 0.5151 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.265, allocations: 5.062 kB / 0.5151 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.2652, allocations: 68.42 kB / 0.5152 GB, free: 9.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2652, allocations: 1.438 kB / 0.5152 GB, free: 9.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004674/0.2657, allocations: 178.1 kB / 0.5154 GB, free: 9.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.2657, allocations: 51.41 kB / 0.5154 GB, free: 9.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2658, allocations: 202.7 kB / 0.5156 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.2658, allocations: 31.08 kB / 0.5156 GB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.2658, allocations: 105.8 kB / 0.5157 GB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.2659, allocations: 27.94 kB / 0.5158 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.2659, allocations: 20.28 kB / 0.5158 GB, free: 9.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.2659, allocations: 321.9 kB / 0.5161 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/0.266, allocations: 23.7 kB / 0.5161 GB, free: 8.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.266, allocations: 35.45 kB / 0.5161 GB, free: 8.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.398e-05/0.2661, allocations: 58.53 kB / 0.5162 GB, free: 8.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2661, allocations: 0 / 0.5162 GB, free: 8.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001571/0.2663, allocations: 108.6 kB / 0.5163 GB, free: 8.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2663, allocations: 4.219 kB / 0.5163 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2663, allocations: 1.656 kB / 0.5163 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2663, allocations: 3.984 kB / 0.5163 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.2664, allocations: 17.7 kB / 0.5163 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2664, allocations: 5.531 kB / 0.5163 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.2665, allocations: 9.281 kB / 0.5163 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.2665, allocations: 10.73 kB / 0.5164 GB, free: 8.598 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.412e-05/0.2665, allocations: 124.7 kB / 0.5165 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.2665, allocations: 9.453 kB / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.2666, allocations: 14.91 kB / 0.5165 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2666, allocations: 1.375 kB / 0.5165 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2666, allocations: 0 / 0.5165 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2666, allocations: 3.938 kB / 0.5165 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.2669, allocations: 402.5 kB / 0.5169 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2669, allocations: 0 / 0.5169 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.2669, allocations: 12.19 kB / 0.5169 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2669, allocations: 5.312 kB / 0.5169 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.267, allocations: 5.375 kB / 0.5169 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.267, allocations: 5.312 kB / 0.5169 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.267, allocations: 0 / 0.5169 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.2671, allocations: 200.4 kB / 0.5171 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.2672, allocations: 93.5 kB / 0.5172 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.2672, allocations: 9.312 kB / 0.5172 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.2672, allocations: 5.375 kB / 0.5172 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.2673, allocations: 12.05 kB / 0.5172 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2673, allocations: 2.75 kB / 0.5172 GB, free: 7.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.841e-05/0.2674, allocations: 152.9 kB / 0.5174 GB, free: 7.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2674, allocations: 4 kB / 0.5174 GB, free: 7.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.2676, allocations: 24.44 kB / 0.5174 GB, free: 7.633 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.001793/0.2694, allocations: 1.095 MB / 0.5185 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.2696, allocations: 55.55 kB / 0.5185 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2696, allocations: 3.938 kB / 0.5185 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.252e-05/0.2697, allocations: 28.42 kB / 0.5185 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.27, allocations: 32.7 kB / 0.5186 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.2713, allocations: 1.664 MB / 0.5202 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2714, allocations: 0.708 MB / 0.5209 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.2715, allocations: 12.89 kB / 0.5209 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.2716, allocations: 35.42 kB / 0.5209 GB, free: 4.324 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2716, allocations: 0 / 0.5209 GB, free: 4.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2947, allocations: 3.462 MB / 0.5243 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.568, allocations: 9.109 kB / 0.5243 GB, free: 0.7773 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.535632437095046]