Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.001466/0.001466, allocations: 114.1 kB / 17.13 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.001426/0.001426, allocations: 191.7 kB / 20.07 MB, free: 2.984 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.583/1.583, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.3371/0.3371, allocations: 44.22 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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",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.002388/0.002388, allocations: 76.45 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2894, allocations: 61 MB / 0.511 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002695/0.2921, allocations: 1.71 MB / 0.5127 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2932, allocations: 0.8076 MB / 0.5134 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.2933, allocations: 0 / 0.5134 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.2936, allocations: 47 kB / 0.5135 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2938, allocations: 63.16 kB / 0.5135 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.294, allocations: 90.64 kB / 0.5136 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.2941, allocations: 93.66 kB / 0.5137 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.2942, allocations: 12.53 kB / 0.5137 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.2943, allocations: 46.33 kB / 0.5138 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.2944, allocations: 26.27 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2944, allocations: 6.094 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.2945, allocations: 41.44 kB / 0.5138 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.2945, allocations: 26.92 kB / 0.5139 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.2946, allocations: 36.78 kB / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.2947, allocations: 126.2 kB / 0.514 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2947, allocations: 4 kB / 0.514 GB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2948, allocations: 3.938 kB / 0.514 GB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2948, allocations: 1.375 kB / 0.514 GB, free: 11.04 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.0004374/0.2952, allocations: 423.1 kB / 0.5144 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2952, allocations: 12.73 kB / 0.5145 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.2953, allocations: 31.78 kB / 0.5145 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.2953, allocations: 14 kB / 0.5145 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2955, allocations: 221.1 kB / 0.5147 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2955, allocations: 9.469 kB / 0.5147 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2956, allocations: 6.594 kB / 0.5147 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.2957, allocations: 53.86 kB / 0.5148 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2957, allocations: 0 / 0.5148 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2957, allocations: 1.156 kB / 0.5148 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.2957, allocations: 1.375 kB / 0.5148 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.2958, allocations: 18.55 kB / 0.5148 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.2961, allocations: 296.2 kB / 0.5151 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2962, allocations: 55.19 kB / 0.5151 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.2963, allocations: 21.03 kB / 0.5151 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2963, allocations: 0.8125 kB / 0.5151 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.2964, allocations: 69.12 kB / 0.5152 GB, free: 9.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.2964, allocations: 5.281 kB / 0.5152 GB, free: 9.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004784/0.2969, allocations: 174.9 kB / 0.5154 GB, free: 9.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2969, allocations: 63.33 kB / 0.5154 GB, free: 9.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.2971, allocations: 233.1 kB / 0.5157 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.2971, allocations: 25.7 kB / 0.5157 GB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.2972, allocations: 106.8 kB / 0.5158 GB, free: 9.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2972, allocations: 23.48 kB / 0.5158 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.2972, allocations: 23.73 kB / 0.5158 GB, free: 9.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.2973, allocations: 332.5 kB / 0.5162 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.2973, allocations: 21.53 kB / 0.5162 GB, free: 8.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.2974, allocations: 35.52 kB / 0.5162 GB, free: 8.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.2975, allocations: 54.92 kB / 0.5163 GB, free: 8.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2975, allocations: 0 / 0.5163 GB, free: 8.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.2977, allocations: 104.5 kB / 0.5164 GB, free: 8.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2977, allocations: 14.11 kB / 0.5164 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2977, allocations: 3.938 kB / 0.5164 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2977, allocations: 1.312 kB / 0.5164 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.2978, allocations: 13.97 kB / 0.5164 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2978, allocations: 0 / 0.5164 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.2979, allocations: 6.344 kB / 0.5164 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2979, allocations: 10.95 kB / 0.5164 GB, free: 8.801 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 8.812e-05/0.298, allocations: 125.6 kB / 0.5165 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.298, allocations: 13.8 kB / 0.5165 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.298, allocations: 20.14 kB / 0.5166 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.298, allocations: 1.5 kB / 0.5166 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.298, allocations: 4 kB / 0.5166 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.298, allocations: 3.938 kB / 0.5166 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.2984, allocations: 401.1 kB / 0.517 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2984, allocations: 0 / 0.517 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.2985, allocations: 12.25 kB / 0.517 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2985, allocations: 5.312 kB / 0.517 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2985, allocations: 5.406 kB / 0.517 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2985, allocations: 1.375 kB / 0.517 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2985, allocations: 0 / 0.517 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2987, allocations: 205.8 kB / 0.5172 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.2987, allocations: 95.73 kB / 0.5173 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.2987, allocations: 5.312 kB / 0.5173 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.2988, allocations: 6.75 kB / 0.5173 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2988, allocations: 6.734 kB / 0.5173 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2988, allocations: 8.125 kB / 0.5173 GB, free: 7.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.2989, allocations: 160.9 kB / 0.5174 GB, free: 7.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2989, allocations: 0 / 0.5174 GB, free: 7.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.2992, allocations: 29.8 kB / 0.5175 GB, free: 7.828 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.001958/0.3012, allocations: 1.11 MB / 0.5186 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.3013, allocations: 59.53 kB / 0.5186 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3013, allocations: 1.375 kB / 0.5186 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.3014, allocations: 23.11 kB / 0.5186 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3018, allocations: 24.36 kB / 0.5187 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3032, allocations: 1.734 MB / 0.5204 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3033, allocations: 0.7119 MB / 0.5211 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.3033, allocations: 17.19 kB / 0.5211 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.3034, allocations: 39.41 kB / 0.5211 GB, free: 4.254 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3034, allocations: 0 / 0.5211 GB, free: 4.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.3286, allocations: 3.577 MB / 0.5246 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.426, allocations: 4.812 kB / 0.5246 GB, free: 0.6016 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.409059467259794]