Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001567/0.001567, 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.001607/0.001607, allocations: 215 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.734/1.734, allocations: 207.7 MB / 234.6 MB, free: 9.77 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.2425/0.2425, allocations: 44.27 MB / 331.1 MB, free: 9.297 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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.002386/0.002386, allocations: 71.89 kB / 468.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1391, allocations: 61.03 MB / 0.517 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003428/0.1426, allocations: 1.686 MB / 0.5186 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1442, allocations: 0.7778 MB / 0.5194 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1443, allocations: 4 kB / 0.5194 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.1446, allocations: 35.77 kB / 0.5194 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.1449, allocations: 59.75 kB / 0.5195 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1452, allocations: 87.77 kB / 0.5196 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1455, allocations: 99.69 kB / 0.5196 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1456, allocations: 8.219 kB / 0.5197 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1457, allocations: 43.78 kB / 0.5197 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1458, allocations: 35.78 kB / 0.5197 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1458, allocations: 4 kB / 0.5197 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1459, allocations: 51.97 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.247e-05/0.146, allocations: 19.92 kB / 0.5198 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.1461, allocations: 15.88 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.1463, allocations: 111.6 kB / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1463, allocations: 0 / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1463, allocations: 7.875 kB / 0.5199 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1463, allocations: 0 / 0.5199 GB, free: 4.062 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.0006423/0.147, allocations: 333.6 kB / 0.5203 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.147, allocations: 12.02 kB / 0.5203 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.641e-05/0.1471, allocations: 4.188 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.1471, allocations: 34.75 kB / 0.5203 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1471, allocations: 8.891 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.1475, allocations: 150.3 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1475, allocations: 4.125 kB / 0.5205 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1475, allocations: 0 / 0.5205 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1477, allocations: 61.61 kB / 0.5205 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1477, allocations: 3.953 kB / 0.5205 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1477, allocations: 0 / 0.5205 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1477, allocations: 0 / 0.5205 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.1478, allocations: 23.98 kB / 0.5205 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1482, allocations: 252 kB / 0.5208 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1484, allocations: 66.59 kB / 0.5208 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.1484, allocations: 20.84 kB / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.1484, allocations: 0 / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.1486, allocations: 67.39 kB / 0.5209 GB, free: 2.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1486, allocations: 0 / 0.5209 GB, free: 2.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006397/0.1493, allocations: 177.7 kB / 0.5211 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1493, allocations: 51.41 kB / 0.5211 GB, free: 2.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1495, allocations: 182.2 kB / 0.5213 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1495, allocations: 29.7 kB / 0.5213 GB, free: 2.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.1497, allocations: 100.1 kB / 0.5214 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.1497, allocations: 23.83 kB / 0.5215 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.1498, allocations: 25.72 kB / 0.5215 GB, free: 2.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1499, allocations: 322.8 kB / 0.5218 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.15, allocations: 23.98 kB / 0.5218 GB, free: 1.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.1501, allocations: 41.64 kB / 0.5219 GB, free: 1.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1502, allocations: 65.7 kB / 0.5219 GB, free: 1.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1502, allocations: 4 kB / 0.5219 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002151/0.1504, allocations: 105.6 kB / 0.522 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1504, allocations: 4 kB / 0.522 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1504, allocations: 4.078 kB / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1505, allocations: 192 / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1506, allocations: 12 kB / 0.522 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1506, allocations: 15.84 kB / 0.5221 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.1506, allocations: 8 kB / 0.5221 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1507, allocations: 4 kB / 0.5221 GB, free: 1.66 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.0001214/0.1508, allocations: 125.8 kB / 0.5222 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1508, allocations: 7.953 kB / 0.5222 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.1511, allocations: 118.4 kB / 0.5223 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1511, allocations: 3.938 kB / 0.5223 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1511, allocations: 3.938 kB / 0.5223 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1511, allocations: 4 kB / 0.5223 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.1516, allocations: 366.4 kB / 0.5227 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1516, allocations: 3.984 kB / 0.5227 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.1516, allocations: 8 kB / 0.5227 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1517, allocations: 7.969 kB / 0.5227 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1517, allocations: 4 kB / 0.5227 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1517, allocations: 0 / 0.5227 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1517, allocations: 0 / 0.5227 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1519, allocations: 212.3 kB / 0.5229 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.152, allocations: 23.78 kB / 0.5229 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.152, allocations: 0 / 0.5229 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.1521, allocations: 4 kB / 0.5229 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1521, allocations: 11.98 kB / 0.5229 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1521, allocations: 4 kB / 0.5229 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1522, allocations: 143.9 kB / 0.5231 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1522, allocations: 0 / 0.5231 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1525, allocations: 16 kB / 0.5231 GB, free: 0.5234 MB / 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.002529/0.155, allocations: 1.14 MB / 0.5242 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1553, allocations: 59.91 kB / 0.5243 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1553, allocations: 0 / 0.5243 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.1554, allocations: 27.94 kB / 0.5243 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.1557, allocations: 31.88 kB / 0.5243 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1578, allocations: 1.622 MB / 0.5259 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.96e-05/0.1579, allocations: 97.38 kB / 0.526 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.728e-05/0.158, allocations: 12.48 kB / 0.526 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.158, allocations: 31.53 kB / 0.526 GB, free: 13.42 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.158, allocations: 3.938 kB / 0.526 GB, free: 13.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.1826, allocations: 3.681 MB / 0.5296 GB, free: 9.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.53, allocations: 7.938 kB / 0.5296 GB, free: 9.613 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.1776175389532] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.74718079296872 11.996827338 11.847346075 Calling exit ...