Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001706/0.001706, allocations: 119.5 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.002054/0.002054, 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.508/1.508, allocations: 207.6 MB / 230.5 MB, free: 3.965 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.3664/0.3664, allocations: 44.23 MB / 326.5 MB, free: 6.836 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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.00212/0.00212, allocations: 75.89 kB / 462.2 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2971, allocations: 60.99 MB / 0.511 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003011/0.3001, allocations: 1.708 MB / 0.5126 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3014, allocations: 0.815 MB / 0.5134 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.3015, allocations: 5.531 kB / 0.5134 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.3018, allocations: 51.12 kB / 0.5135 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.302, allocations: 53.14 kB / 0.5135 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.3023, allocations: 85.98 kB / 0.5136 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.3025, allocations: 97.42 kB / 0.5137 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3026, allocations: 9.625 kB / 0.5137 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.3027, allocations: 42.36 kB / 0.5138 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.3027, allocations: 42.36 kB / 0.5138 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3028, allocations: 3.594 kB / 0.5138 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.3028, allocations: 34.33 kB / 0.5138 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.3029, allocations: 28.77 kB / 0.5139 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.3029, allocations: 30.08 kB / 0.5139 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.3031, allocations: 121.2 kB / 0.514 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3031, allocations: 0 / 0.514 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3031, allocations: 0 / 0.514 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3031, allocations: 0 / 0.514 GB, free: 11.12 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.0004506/0.3036, allocations: 424.8 kB / 0.5144 GB, free: 10.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3036, allocations: 13.48 kB / 0.5144 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.3036, allocations: 32.12 kB / 0.5145 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.3037, allocations: 13 kB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.3039, allocations: 213.3 kB / 0.5147 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3039, allocations: 1.75 kB / 0.5147 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.304, allocations: 5.312 kB / 0.5147 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3041, allocations: 54.05 kB / 0.5147 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3041, allocations: 1.375 kB / 0.5147 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3041, allocations: 4 kB / 0.5147 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3041, allocations: 5.312 kB / 0.5147 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.3042, allocations: 17.61 kB / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.3045, allocations: 294.8 kB / 0.515 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.3047, allocations: 48.56 kB / 0.5151 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.3047, allocations: 32.97 kB / 0.5151 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3048, allocations: 5.359 kB / 0.5151 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.3049, allocations: 69.14 kB / 0.5152 GB, free: 9.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3049, allocations: 0 / 0.5152 GB, free: 9.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.3055, allocations: 178.1 kB / 0.5154 GB, free: 9.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.3055, allocations: 53.5 kB / 0.5154 GB, free: 9.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3057, allocations: 205.7 kB / 0.5156 GB, free: 9.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3057, allocations: 26.7 kB / 0.5156 GB, free: 9.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.3057, allocations: 105.6 kB / 0.5157 GB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.3057, allocations: 22.58 kB / 0.5158 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.3058, allocations: 24.48 kB / 0.5158 GB, free: 9.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.751e-05/0.3058, allocations: 323.5 kB / 0.5161 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.3059, allocations: 18.59 kB / 0.5161 GB, free: 9.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.306, allocations: 38.77 kB / 0.5161 GB, free: 9.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.3061, allocations: 67.3 kB / 0.5162 GB, free: 8.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3061, allocations: 1.312 kB / 0.5162 GB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.3062, allocations: 106.9 kB / 0.5163 GB, free: 8.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3063, allocations: 5.594 kB / 0.5163 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3063, allocations: 0 / 0.5163 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3063, allocations: 1.125 kB / 0.5163 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.3064, allocations: 13.78 kB / 0.5163 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3064, allocations: 5.062 kB / 0.5163 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.3064, allocations: 14.58 kB / 0.5164 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3064, allocations: 1.5 kB / 0.5164 GB, free: 8.902 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.867e-05/0.3065, allocations: 121 kB / 0.5165 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.3065, allocations: 8.766 kB / 0.5165 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.3066, allocations: 22.27 kB / 0.5165 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3066, allocations: 1.594 kB / 0.5165 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3066, allocations: 3.938 kB / 0.5165 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3066, allocations: 9.281 kB / 0.5165 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.3069, allocations: 386.2 kB / 0.5169 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3069, allocations: 0 / 0.5169 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.3069, allocations: 20.33 kB / 0.5169 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3069, allocations: 5.375 kB / 0.5169 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.307, allocations: 1.406 kB / 0.5169 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.307, allocations: 3.938 kB / 0.5169 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.307, allocations: 1.531 kB / 0.5169 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3071, allocations: 199.6 kB / 0.5171 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.3072, allocations: 89.11 kB / 0.5172 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3072, allocations: 10.48 kB / 0.5172 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.3073, allocations: 5.906 kB / 0.5172 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.3073, allocations: 10.42 kB / 0.5172 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3073, allocations: 15.11 kB / 0.5172 GB, free: 8.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.846e-05/0.3074, allocations: 148.7 kB / 0.5174 GB, free: 7.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3074, allocations: 0 / 0.5174 GB, free: 7.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.3077, allocations: 28.42 kB / 0.5174 GB, free: 7.934 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.00186/0.3095, allocations: 1.095 MB / 0.5185 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3097, allocations: 59.52 kB / 0.5185 GB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3097, allocations: 5.312 kB / 0.5185 GB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.472e-05/0.3098, allocations: 27.05 kB / 0.5186 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3101, allocations: 33.77 kB / 0.5186 GB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.3115, allocations: 1.656 MB / 0.5202 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.3116, allocations: 0.7041 MB / 0.5209 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.66e-05/0.3117, allocations: 17.19 kB / 0.5209 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.3117, allocations: 39.42 kB / 0.5209 GB, free: 4.406 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3117, allocations: 0 / 0.5209 GB, free: 4.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.3375, allocations: 3.458 MB / 0.5243 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.629, allocations: 13.11 kB / 0.5243 GB, free: 0.8594 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.524676946923137]