Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001427, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.4 MB / 254.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3764/0.3764, allocations: 46.92 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 87.86 kB / 0.4917 GB, free: 26.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1333, allocations: 66.04 MB / 0.5562 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003121/0.1364, allocations: 1.731 MB / 0.5579 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1381, allocations: 1.043 MB / 0.5589 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.1382, allocations: 4 kB / 0.5589 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1385, allocations: 55.75 kB / 0.559 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.1388, allocations: 95.59 kB / 0.5591 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.139, allocations: 79.67 kB / 0.5592 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1391, allocations: 103.7 kB / 0.5593 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.1392, allocations: 16.22 kB / 0.5593 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.1393, allocations: 47.78 kB / 0.5593 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.1394, allocations: 31.84 kB / 0.5594 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1394, allocations: 4 kB / 0.5594 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.91e-05/0.1395, allocations: 43.98 kB / 0.5594 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.1396, allocations: 39.78 kB / 0.5594 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.1396, allocations: 39.67 kB / 0.5595 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1399, allocations: 139.4 kB / 0.5596 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1399, allocations: 0 / 0.5596 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1399, allocations: 0 / 0.5596 GB, free: 5.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1399, allocations: 0 / 0.5596 GB, free: 5.129 MB / 414.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.0006319/0.1405, allocations: 454.4 kB / 0.56 GB, free: 4.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1406, allocations: 12.03 kB / 0.5601 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.1406, allocations: 192 / 0.5601 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.1406, allocations: 34.73 kB / 0.5601 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.1407, allocations: 16.84 kB / 0.5601 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.141, allocations: 229 kB / 0.5603 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.141, allocations: 4.312 kB / 0.5603 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.141, allocations: 4.375 kB / 0.5603 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1412, allocations: 61.61 kB / 0.5604 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1412, allocations: 0 / 0.5604 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1412, allocations: 0 / 0.5604 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1412, allocations: 0 / 0.5604 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.1413, allocations: 19.98 kB / 0.5604 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1417, allocations: 308.8 kB / 0.5607 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1419, allocations: 54.69 kB / 0.5608 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1419, allocations: 20.84 kB / 0.5608 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1419, allocations: 0 / 0.5608 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1421, allocations: 71.33 kB / 0.5608 GB, free: 3.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1421, allocations: 0 / 0.5608 GB, free: 3.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.1427, allocations: 185.3 kB / 0.561 GB, free: 3.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1427, allocations: 59.34 kB / 0.5611 GB, free: 3.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.143, allocations: 270.8 kB / 0.5613 GB, free: 3.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.143, allocations: 25.7 kB / 0.5614 GB, free: 3.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.1431, allocations: 116.1 kB / 0.5615 GB, free: 3.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1431, allocations: 19.84 kB / 0.5615 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.1432, allocations: 25.72 kB / 0.5615 GB, free: 2.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1433, allocations: 334.8 kB / 0.5618 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.1434, allocations: 16 kB / 0.5619 GB, free: 2.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.1435, allocations: 37.7 kB / 0.5619 GB, free: 2.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1436, allocations: 69.58 kB / 0.562 GB, free: 2.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1436, allocations: 0 / 0.562 GB, free: 2.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1438, allocations: 101.5 kB / 0.562 GB, free: 2.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1438, allocations: 7.984 kB / 0.5621 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1438, allocations: 0 / 0.5621 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1438, allocations: 0 / 0.5621 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/0.1439, allocations: 27.95 kB / 0.5621 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1439, allocations: 0 / 0.5621 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.144, allocations: 7.984 kB / 0.5621 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.144, allocations: 7.938 kB / 0.5621 GB, free: 2.328 MB / 414.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.0001281/0.1441, allocations: 137.8 kB / 0.5622 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1441, allocations: 15.91 kB / 0.5622 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.1442, allocations: 17.41 kB / 0.5623 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1442, allocations: 192 / 0.5623 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1442, allocations: 0 / 0.5623 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1442, allocations: 11.92 kB / 0.5623 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.1447, allocations: 415.2 kB / 0.5627 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1447, allocations: 0 / 0.5627 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.1447, allocations: 8.375 kB / 0.5627 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1447, allocations: 0 / 0.5627 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1447, allocations: 3.938 kB / 0.5627 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1447, allocations: 8 kB / 0.5627 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1447, allocations: 3.938 kB / 0.5627 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.145, allocations: 208.3 kB / 0.5629 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.1451, allocations: 93 kB / 0.563 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.1451, allocations: 11.94 kB / 0.563 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.1452, allocations: 0 / 0.563 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1452, allocations: 7.984 kB / 0.563 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1452, allocations: 4 kB / 0.563 GB, free: 1.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.1454, allocations: 204.6 kB / 0.5632 GB, free: 1.094 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1454, allocations: 0 / 0.5632 GB, free: 1.094 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1457, allocations: 23.98 kB / 0.5632 GB, free: 1.07 MB / 414.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.002222/0.1479, allocations: 1.099 MB / 0.5643 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1481, allocations: 55.91 kB / 0.5643 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1481, allocations: 0 / 0.5643 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.1482, allocations: 28.09 kB / 0.5644 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1486, allocations: 32.03 kB / 0.5644 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1507, allocations: 1.834 MB / 0.5662 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1511, allocations: 0.7333 MB / 0.5669 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.1512, allocations: 17.12 kB / 0.5669 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.1513, allocations: 47.41 kB / 0.567 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1513, allocations: 0 / 0.567 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.1718, allocations: 3.842 MB / 0.5707 GB, free: 9.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.251, allocations: 10.8 kB / 0.5707 GB, free: 9.469 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.372904300049413] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.425989486975595 8.452387521 8.307753567 Calling exit ...