Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.001263/0.001263, allocations: 117.1 kB / 17.13 MB, free: 5.926 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.001223/0.001223, allocations: 192.7 kB / 20.07 MB, free: 2.992 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.539/1.539, allocations: 207.6 MB / 230.4 MB, free: 4.043 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.3675/0.3675, allocations: 44.23 MB / 326.5 MB, free: 6.844 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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.002144/0.002144, allocations: 83.86 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2988, allocations: 60.99 MB / 0.511 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003321/0.3021, allocations: 1.949 MB / 0.5129 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3037, allocations: 0.9803 MB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3038, allocations: 1.844 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.3045, allocations: 194.6 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.3049, allocations: 158.1 kB / 0.5142 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.3054, allocations: 203.3 kB / 0.5144 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.3056, allocations: 248.1 kB / 0.5146 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3058, allocations: 19.84 kB / 0.5146 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3059, allocations: 111.1 kB / 0.5147 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.3061, allocations: 108.5 kB / 0.5148 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.3061, allocations: 10.56 kB / 0.5148 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.3063, allocations: 66.58 kB / 0.5149 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3064, allocations: 61.83 kB / 0.515 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.3065, allocations: 81.34 kB / 0.515 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.3069, allocations: 232.4 kB / 0.5153 GB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3069, allocations: 0 / 0.5153 GB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3069, allocations: 3.938 kB / 0.5153 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3069, allocations: 0 / 0.5153 GB, free: 10.11 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000902/0.3078, allocations: 0.5393 MB / 0.5158 GB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3079, allocations: 13.61 kB / 0.5158 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.3079, allocations: 45.39 kB / 0.5158 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.308, allocations: 23.27 kB / 0.5159 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.3083, allocations: 285.9 kB / 0.5161 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.3084, allocations: 7.438 kB / 0.5161 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3084, allocations: 14.8 kB / 0.5162 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.3086, allocations: 98.72 kB / 0.5162 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3086, allocations: 5.469 kB / 0.5163 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3086, allocations: 0 / 0.5163 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3087, allocations: 1.219 kB / 0.5163 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3088, allocations: 41.39 kB / 0.5163 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.3092, allocations: 377.4 kB / 0.5167 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.3095, allocations: 117 kB / 0.5168 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.3096, allocations: 40.83 kB / 0.5168 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3096, allocations: 2.75 kB / 0.5168 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.3098, allocations: 121.8 kB / 0.5169 GB, free: 8.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.3098, allocations: 0 / 0.5169 GB, free: 8.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004474/0.3103, allocations: 181.6 kB / 0.5171 GB, free: 8.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3103, allocations: 108.2 kB / 0.5172 GB, free: 8.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.3107, allocations: 334.2 kB / 0.5175 GB, free: 8.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3107, allocations: 29.7 kB / 0.5175 GB, free: 7.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.3107, allocations: 140.1 kB / 0.5177 GB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3108, allocations: 35.73 kB / 0.5177 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.3108, allocations: 29.7 kB / 0.5177 GB, free: 7.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.3109, allocations: 342.8 kB / 0.5181 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-05/0.311, allocations: 32.05 kB / 0.5181 GB, free: 7.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.3111, allocations: 81.14 kB / 0.5182 GB, free: 7.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3112, allocations: 99.34 kB / 0.5183 GB, free: 7.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3112, allocations: 0 / 0.5183 GB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002251/0.3115, allocations: 145.4 kB / 0.5184 GB, free: 7.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3115, allocations: 4 kB / 0.5184 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3115, allocations: 4.094 kB / 0.5184 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3115, allocations: 4 kB / 0.5184 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3116, allocations: 19.98 kB / 0.5184 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3116, allocations: 7.984 kB / 0.5184 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.3117, allocations: 23.81 kB / 0.5185 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3117, allocations: 4 kB / 0.5185 GB, free: 6.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001169/0.3118, allocations: 149.7 kB / 0.5186 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.3119, allocations: 23.86 kB / 0.5186 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.3119, allocations: 33.73 kB / 0.5187 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3119, allocations: 0 / 0.5187 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3119, allocations: 128 / 0.5187 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3119, allocations: 11.92 kB / 0.5187 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3121, allocations: 253.6 kB / 0.5189 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3121, allocations: 0 / 0.5189 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.3121, allocations: 8 kB / 0.5189 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3121, allocations: 0 / 0.5189 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3121, allocations: 0 / 0.5189 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3121, allocations: 4 kB / 0.5189 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3121, allocations: 0 / 0.5189 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.3124, allocations: 193.6 kB / 0.5191 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.3124, allocations: 96.97 kB / 0.5192 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.3125, allocations: 0 / 0.5192 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.3125, allocations: 11.98 kB / 0.5192 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.3126, allocations: 11.92 kB / 0.5192 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3126, allocations: 8 kB / 0.5192 GB, free: 6.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.3128, allocations: 253.9 kB / 0.5195 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3128, allocations: 0 / 0.5195 GB, free: 5.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.313, allocations: 35.94 kB / 0.5195 GB, free: 5.793 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001782/0.3148, allocations: 1.035 MB / 0.5205 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.3151, allocations: 91.89 kB / 0.5206 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3151, allocations: 0 / 0.5206 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.3152, allocations: 39.92 kB / 0.5207 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.3156, allocations: 68.64 kB / 0.5207 GB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.3178, allocations: 2.302 MB / 0.523 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.318, allocations: 0.7476 MB / 0.5237 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.623e-05/0.3181, allocations: 33.92 kB / 0.5237 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.3181, allocations: 59.42 kB / 0.5238 GB, free: 1.305 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3181, allocations: 4 kB / 0.5238 GB, free: 1.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.3462, allocations: 5.658 MB / 0.5293 GB, free: 11.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/8.841, allocations: 4 kB / 0.5293 GB, free: 11.56 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.800174708943814]