Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001699/0.001699, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002277/0.002277, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.823/1.823, allocations: 207.7 MB / 234.6 MB, free: 9.777 MB / 190.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.245/0.245, allocations: 44.26 MB / 331.1 MB, free: 9.305 MB / 270.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.002286/0.002286, allocations: 72.33 kB / 468.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1375, allocations: 61.04 MB / 0.517 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00405/0.1415, allocations: 1.686 MB / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1431, allocations: 0.7856 MB / 0.5194 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1432, allocations: 0 / 0.5194 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.1436, allocations: 47.77 kB / 0.5194 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1439, allocations: 59.75 kB / 0.5195 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1442, allocations: 99.75 kB / 0.5196 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.1444, allocations: 99.62 kB / 0.5197 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1445, allocations: 16.14 kB / 0.5197 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.1446, allocations: 39.8 kB / 0.5197 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1447, allocations: 35.84 kB / 0.5198 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.1448, allocations: 4 kB / 0.5198 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1449, allocations: 39.98 kB / 0.5198 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.145, allocations: 27.91 kB / 0.5198 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.145, allocations: 27.75 kB / 0.5199 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.1454, allocations: 143.3 kB / 0.52 GB, free: 3.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1454, allocations: 0 / 0.52 GB, free: 3.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1454, allocations: 4 kB / 0.52 GB, free: 3.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1454, allocations: 0 / 0.52 GB, free: 3.992 MB / 398.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.0007489/0.1461, allocations: 357.5 kB / 0.5203 GB, free: 3.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.1462, allocations: 12.03 kB / 0.5204 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.063e-05/0.1462, allocations: 192 / 0.5204 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.1462, allocations: 34.75 kB / 0.5204 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.1463, allocations: 20.78 kB / 0.5204 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1466, allocations: 154 kB / 0.5206 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1466, allocations: 8.109 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.1466, allocations: 8 kB / 0.5206 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1468, allocations: 57.61 kB / 0.5206 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1468, allocations: 0 / 0.5206 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1468, allocations: 4 kB / 0.5206 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1468, allocations: 7.984 kB / 0.5206 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.442e-05/0.1469, allocations: 19.98 kB / 0.5207 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.1473, allocations: 264 kB / 0.5209 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1475, allocations: 58.62 kB / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.1476, allocations: 20.84 kB / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1476, allocations: 4 kB / 0.521 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.1478, allocations: 71.39 kB / 0.5211 GB, free: 2.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1478, allocations: 0 / 0.5211 GB, free: 2.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00062/0.1484, allocations: 189.2 kB / 0.5212 GB, free: 2.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.1484, allocations: 59.39 kB / 0.5213 GB, free: 2.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.1487, allocations: 267.4 kB / 0.5215 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1488, allocations: 29.7 kB / 0.5216 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.1488, allocations: 108.1 kB / 0.5217 GB, free: 2.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1489, allocations: 23.8 kB / 0.5217 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.1489, allocations: 25.7 kB / 0.5217 GB, free: 2.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1491, allocations: 330.8 kB / 0.522 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.1492, allocations: 19.98 kB / 0.5221 GB, free: 1.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.1493, allocations: 45.58 kB / 0.5221 GB, free: 1.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1494, allocations: 65.69 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1494, allocations: 0 / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.1496, allocations: 109.5 kB / 0.5223 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1496, allocations: 4 kB / 0.5223 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1497, allocations: 0 / 0.5223 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1497, allocations: 8.031 kB / 0.5223 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1498, allocations: 15.98 kB / 0.5223 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1498, allocations: 3.938 kB / 0.5223 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.1498, allocations: 4 kB / 0.5223 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1498, allocations: 0 / 0.5223 GB, free: 1.418 MB / 398.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 0.0001402/0.15, allocations: 141.7 kB / 0.5224 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.15, allocations: 19.89 kB / 0.5225 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.1503, allocations: 127 kB / 0.5226 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1503, allocations: 0 / 0.5226 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1503, allocations: 3.938 kB / 0.5226 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1503, allocations: 4 kB / 0.5226 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.1509, allocations: 374.4 kB / 0.5229 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1509, allocations: 4 kB / 0.5229 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.1509, allocations: 11.98 kB / 0.523 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1509, allocations: 3.938 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.151, allocations: 4 kB / 0.523 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.151, allocations: 0 / 0.523 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.151, allocations: 0 / 0.523 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1512, allocations: 216.5 kB / 0.5232 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.1513, allocations: 23.86 kB / 0.5232 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1513, allocations: 4.375 kB / 0.5232 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1514, allocations: 384 / 0.5232 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1514, allocations: 11.98 kB / 0.5232 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1514, allocations: 8 kB / 0.5232 GB, free: 400 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.1516, allocations: 199.3 kB / 0.5234 GB, free: 200 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1516, allocations: 3.938 kB / 0.5234 GB, free: 196 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1519, allocations: 31.92 kB / 0.5234 GB, free: 164 kB / 398.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 (9): * Single equations (assignments): 7 * 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.002675/0.1546, allocations: 1.141 MB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1548, allocations: 51.98 kB / 0.5246 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1548, allocations: 0 / 0.5246 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.1549, allocations: 31.92 kB / 0.5246 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.1553, allocations: 35.53 kB / 0.5247 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.1577, allocations: 1.824 MB / 0.5265 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1578, allocations: 101.8 kB / 0.5265 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.1579, allocations: 20.77 kB / 0.5266 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.1579, allocations: 55.3 kB / 0.5266 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1579, allocations: 0 / 0.5266 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.1824, allocations: 4.055 MB / 0.5306 GB, free: 8.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.43, allocations: 0 / 0.5306 GB, free: 8.645 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.259537370991893] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.64613263704814 11.913508682 11.765269258 Calling exit ...