Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001581/0.001581, allocations: 113.7 kB / 17.13 MB, free: 5.754 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.001967/0.001967, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.634/1.634, allocations: 207.6 MB / 230.5 MB, free: 3.988 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.3975/0.3975, allocations: 44.22 MB / 326.5 MB, free: 6.816 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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.002408/0.002408, allocations: 84.34 kB / 462.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2898, allocations: 61 MB / 0.511 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003748/0.2935, allocations: 1.665 MB / 0.5126 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2949, allocations: 0.7894 MB / 0.5134 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.295, allocations: 4.906 kB / 0.5134 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.2954, allocations: 67.16 kB / 0.5134 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.2956, allocations: 67.73 kB / 0.5135 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.2959, allocations: 81.53 kB / 0.5136 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.2961, allocations: 94.33 kB / 0.5137 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.2961, allocations: 14.3 kB / 0.5137 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.2962, allocations: 53.67 kB / 0.5137 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.2963, allocations: 43.7 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2963, allocations: 2.438 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.2964, allocations: 32.2 kB / 0.5138 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.2965, allocations: 18.02 kB / 0.5138 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.2965, allocations: 26.86 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2967, allocations: 109.5 kB / 0.514 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2967, allocations: 0 / 0.514 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2967, allocations: 1.094 kB / 0.514 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2967, allocations: 0 / 0.514 GB, free: 10.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00048/0.2972, allocations: 409.2 kB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2972, allocations: 14.67 kB / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.2973, allocations: 34.75 kB / 0.5144 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.2973, allocations: 13.62 kB / 0.5144 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.2975, allocations: 206.6 kB / 0.5146 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2975, allocations: 1.625 kB / 0.5146 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2976, allocations: 5.094 kB / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.2977, allocations: 55.23 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2977, allocations: 5.094 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2977, allocations: 0 / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2977, allocations: 1.125 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.2978, allocations: 11.28 kB / 0.5147 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.2979, allocations: 179.5 kB / 0.5149 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2981, allocations: 57.7 kB / 0.5149 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.2981, allocations: 23.97 kB / 0.5149 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2982, allocations: 0 / 0.5149 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.2983, allocations: 64.8 kB / 0.515 GB, free: 9.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2983, allocations: 0 / 0.515 GB, free: 9.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002791/0.2986, allocations: 91.62 kB / 0.5151 GB, free: 9.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.2986, allocations: 56.66 kB / 0.5151 GB, free: 9.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2988, allocations: 189.7 kB / 0.5153 GB, free: 9.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2988, allocations: 29.7 kB / 0.5153 GB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.2989, allocations: 104.5 kB / 0.5154 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.2989, allocations: 10.56 kB / 0.5155 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.2989, allocations: 18.88 kB / 0.5155 GB, free: 9.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.299, allocations: 326.7 kB / 0.5158 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.299, allocations: 10.88 kB / 0.5158 GB, free: 8.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.2991, allocations: 35.66 kB / 0.5158 GB, free: 8.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.2992, allocations: 47.67 kB / 0.5159 GB, free: 8.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2992, allocations: 3.938 kB / 0.5159 GB, free: 8.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000138/0.2993, allocations: 83.31 kB / 0.516 GB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2993, allocations: 5.625 kB / 0.516 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2994, allocations: 1.781 kB / 0.516 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2994, allocations: 320 / 0.516 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.2995, allocations: 16.95 kB / 0.516 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2995, allocations: 5.844 kB / 0.516 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.2995, allocations: 5.781 kB / 0.516 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.2995, allocations: 1.656 kB / 0.516 GB, free: 8.812 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 (7): * Single equations (assignments): 7 * 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.085e-05/0.2996, allocations: 130.6 kB / 0.5161 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2996, allocations: 9.297 kB / 0.5161 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.2997, allocations: 11.91 kB / 0.5161 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2997, allocations: 1.781 kB / 0.5161 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2997, allocations: 0 / 0.5161 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2997, allocations: 3.984 kB / 0.5161 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2998, allocations: 192.6 kB / 0.5163 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2998, allocations: 3.984 kB / 0.5163 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.2998, allocations: 2.75 kB / 0.5163 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2998, allocations: 1.375 kB / 0.5163 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2998, allocations: 0 / 0.5163 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2998, allocations: 1.375 kB / 0.5163 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2998, allocations: 0 / 0.5163 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.3, allocations: 110 kB / 0.5164 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.3, allocations: 91.75 kB / 0.5165 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3, allocations: 3.984 kB / 0.5165 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.3001, allocations: 2.75 kB / 0.5165 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.3001, allocations: 13.25 kB / 0.5166 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3001, allocations: 2.75 kB / 0.5166 GB, free: 8.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.8e-05/0.3002, allocations: 145.2 kB / 0.5167 GB, free: 8.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3002, allocations: 0 / 0.5167 GB, free: 8.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002035/0.3004, allocations: 12.38 kB / 0.5167 GB, free: 8.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001622/0.302, allocations: 0.9713 MB / 0.5177 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.3022, allocations: 37.92 kB / 0.5177 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3022, allocations: 0 / 0.5177 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.3022, allocations: 22.92 kB / 0.5177 GB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3025, allocations: 24.42 kB / 0.5177 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3039, allocations: 1.481 MB / 0.5192 GB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.304, allocations: 0.6985 MB / 0.5199 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.843e-05/0.3041, allocations: 11.91 kB / 0.5199 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.3041, allocations: 33.27 kB / 0.5199 GB, free: 5.148 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3041, allocations: 4 kB / 0.5199 GB, free: 5.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3266, allocations: 3.086 MB / 0.5229 GB, free: 2.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.39, allocations: 11.97 kB / 0.5229 GB, free: 2.199 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.541532569099218]