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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 118.9 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 203 kB / 20.79 MB, free: 2.297 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.752/1.752, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.4348/0.4348, allocations: 44.23 MB / 327.3 MB, free: 6.738 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003511/0.003511, allocations: 71.91 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4111, allocations: 61 MB / 0.5117 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004319/0.4154, allocations: 1.709 MB / 0.5134 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.4169, allocations: 0.8166 MB / 0.5142 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.417, allocations: 0 / 0.5142 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.4174, allocations: 45.03 kB / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.4176, allocations: 53.39 kB / 0.5143 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.4179, allocations: 86.81 kB / 0.5144 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.4181, allocations: 94.08 kB / 0.5144 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4182, allocations: 20.73 kB / 0.5145 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.4183, allocations: 43.66 kB / 0.5145 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.4184, allocations: 34.53 kB / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.4184, allocations: 3.438 kB / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.4185, allocations: 43.41 kB / 0.5146 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.4186, allocations: 23.8 kB / 0.5146 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.4186, allocations: 30.22 kB / 0.5146 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.4188, allocations: 123.9 kB / 0.5148 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4188, allocations: 1.75 kB / 0.5148 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4188, allocations: 0 / 0.5148 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4188, allocations: 0 / 0.5148 GB, free: 10.94 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.0005615/0.4194, allocations: 419.9 kB / 0.5152 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4194, allocations: 14.8 kB / 0.5152 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.182e-05/0.4195, allocations: 192 / 0.5152 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.4195, allocations: 36.25 kB / 0.5152 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.4195, allocations: 10.89 kB / 0.5152 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.4198, allocations: 211.5 kB / 0.5154 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4198, allocations: 5.344 kB / 0.5154 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.4198, allocations: 10.53 kB / 0.5154 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.42, allocations: 53.77 kB / 0.5155 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.42, allocations: 0 / 0.5155 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.42, allocations: 5.25 kB / 0.5155 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.42, allocations: 1.375 kB / 0.5155 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.4201, allocations: 17.39 kB / 0.5155 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.4205, allocations: 287.3 kB / 0.5158 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.4206, allocations: 60.52 kB / 0.5158 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.4207, allocations: 19.72 kB / 0.5159 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.4207, allocations: 5.906 kB / 0.5159 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.4209, allocations: 64.11 kB / 0.5159 GB, free: 9.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4209, allocations: 1.812 kB / 0.5159 GB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005805/0.4214, allocations: 181.1 kB / 0.5161 GB, free: 9.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.4215, allocations: 54.56 kB / 0.5161 GB, free: 9.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.4216, allocations: 196.6 kB / 0.5163 GB, free: 9.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.4217, allocations: 31.08 kB / 0.5164 GB, free: 9.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.4217, allocations: 105.6 kB / 0.5165 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.4217, allocations: 23.92 kB / 0.5165 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.4218, allocations: 24.58 kB / 0.5165 GB, free: 9.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.4218, allocations: 325.6 kB / 0.5168 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.4219, allocations: 22.94 kB / 0.5168 GB, free: 8.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.422, allocations: 35.45 kB / 0.5169 GB, free: 8.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.4221, allocations: 59.83 kB / 0.5169 GB, free: 8.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4221, allocations: 0 / 0.5169 GB, free: 8.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.4222, allocations: 103.3 kB / 0.517 GB, free: 8.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4223, allocations: 5.5 kB / 0.517 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4223, allocations: 13.33 kB / 0.5171 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4223, allocations: 5.359 kB / 0.5171 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.4224, allocations: 16.38 kB / 0.5171 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4224, allocations: 5.312 kB / 0.5171 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.4224, allocations: 1.375 kB / 0.5171 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4224, allocations: 2.75 kB / 0.5171 GB, free: 8.738 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 9.251e-05/0.4225, allocations: 132.8 kB / 0.5172 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.4226, allocations: 9.453 kB / 0.5172 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.4226, allocations: 22.89 kB / 0.5172 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4226, allocations: 0 / 0.5172 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4226, allocations: 5.312 kB / 0.5172 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4226, allocations: 0 / 0.5172 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.423, allocations: 398.7 kB / 0.5176 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.423, allocations: 0 / 0.5176 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.423, allocations: 12.23 kB / 0.5176 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.423, allocations: 5.312 kB / 0.5176 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4231, allocations: 1.375 kB / 0.5176 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4231, allocations: 5.406 kB / 0.5176 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4231, allocations: 3.938 kB / 0.5177 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.4233, allocations: 205.5 kB / 0.5178 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.4233, allocations: 91.77 kB / 0.5179 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.4233, allocations: 1.625 kB / 0.5179 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.4234, allocations: 9.297 kB / 0.5179 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.4234, allocations: 7.156 kB / 0.518 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.4235, allocations: 4.312 kB / 0.518 GB, free: 7.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.4236, allocations: 150.9 kB / 0.5181 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4236, allocations: 1.25 kB / 0.5181 GB, free: 7.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.4239, allocations: 28.45 kB / 0.5181 GB, free: 7.766 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.002021/0.4259, allocations: 1.095 MB / 0.5192 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.4261, allocations: 52.66 kB / 0.5192 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4261, allocations: 4.062 kB / 0.5193 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.4262, allocations: 35.55 kB / 0.5193 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4265, allocations: 24.73 kB / 0.5193 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.4281, allocations: 1.665 MB / 0.5209 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.4282, allocations: 0.708 MB / 0.5216 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.702e-05/0.4283, allocations: 16.88 kB / 0.5216 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.4283, allocations: 35.42 kB / 0.5217 GB, free: 4.418 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4283, allocations: 0 / 0.5217 GB, free: 4.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.4469, allocations: 3.486 MB / 0.5251 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.952, allocations: 18.66 kB / 0.5251 GB, free: 0.8477 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] [Calling os._exit(0), Time elapsed: 12.335856324003544] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.140776274027303 9.153067312 8.731459661 Calling exit ...