Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001287/0.001287, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.00138/0.00138, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.421/1.421, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2249/0.2249, allocations: 46.91 MB / 357.7 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] 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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 83.86 kB / 0.4917 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1452, allocations: 66.04 MB / 0.5562 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00427/0.1495, allocations: 1.735 MB / 0.5579 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1512, allocations: 1.039 MB / 0.5589 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.1513, allocations: 3.938 kB / 0.5589 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1516, allocations: 55.75 kB / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1519, allocations: 99.55 kB / 0.5591 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1521, allocations: 79.72 kB / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1523, allocations: 103.6 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1524, allocations: 15.98 kB / 0.5593 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.938e-05/0.1525, allocations: 47.78 kB / 0.5593 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.1526, allocations: 23.86 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1526, allocations: 4 kB / 0.5594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1528, allocations: 47.97 kB / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.1528, allocations: 35.8 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.1529, allocations: 39.67 kB / 0.5595 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1531, allocations: 139.4 kB / 0.5596 GB, free: 2.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1531, allocations: 4 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1531, allocations: 0 / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1532, allocations: 0 / 0.5596 GB, free: 2.035 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.0006961/0.1538, allocations: 454.3 kB / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1539, allocations: 12.03 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.648e-05/0.1539, allocations: 192 / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.1539, allocations: 34.73 kB / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.154, allocations: 16.84 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.1543, allocations: 229 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1543, allocations: 384 / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1543, allocations: 4.375 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1545, allocations: 61.61 kB / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1545, allocations: 0 / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1545, allocations: 0 / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1545, allocations: 0 / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/0.1546, allocations: 19.98 kB / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.155, allocations: 312.7 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1552, allocations: 50.69 kB / 0.5608 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.1553, allocations: 20.84 kB / 0.5608 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1553, allocations: 3.984 kB / 0.5608 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.1555, allocations: 75.33 kB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.1555, allocations: 0 / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005546/0.156, allocations: 177.4 kB / 0.561 GB, free: 420 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.1561, allocations: 55.34 kB / 0.5611 GB, free: 352 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1564, allocations: 270.8 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1564, allocations: 25.7 kB / 0.5614 GB, free: 36 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1565, allocations: 120.1 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1565, allocations: 23.78 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.1566, allocations: 29.72 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1567, allocations: 338.7 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.1568, allocations: 16 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-05/0.1569, allocations: 33.7 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.157, allocations: 73.69 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.157, allocations: 0 / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.1572, allocations: 109.5 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1572, allocations: 4 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1572, allocations: 0 / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1572, allocations: 0 / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.1573, allocations: 19.94 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1573, allocations: 0 / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.1574, allocations: 7.984 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1574, allocations: 7.938 kB / 0.5621 GB, free: 15.23 MB / 430.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.0001195/0.1575, allocations: 137.9 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1575, allocations: 15.91 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.1576, allocations: 17.41 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1576, allocations: 0 / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1576, allocations: 384 / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1576, allocations: 3.984 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.1581, allocations: 411.2 kB / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1581, allocations: 4 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.1581, allocations: 12.03 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1581, allocations: 0 / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1581, allocations: 3.938 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1581, allocations: 4 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1581, allocations: 3.938 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1584, allocations: 200.3 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.1584, allocations: 93 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1585, allocations: 15.94 kB / 0.563 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1585, allocations: 0 / 0.563 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1586, allocations: 11.92 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1586, allocations: 4 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.1588, allocations: 200.6 kB / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1588, allocations: 0 / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1591, allocations: 27.92 kB / 0.5632 GB, free: 13.98 MB / 430.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.002247/0.1613, allocations: 1.091 MB / 0.5643 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1615, allocations: 63.89 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1615, allocations: 0 / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.1616, allocations: 23.98 kB / 0.5644 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1619, allocations: 31.92 kB / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1642, allocations: 1.85 MB / 0.5662 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1646, allocations: 0.7274 MB / 0.5669 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.1646, allocations: 8.891 kB / 0.5669 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.1647, allocations: 47.41 kB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1647, allocations: 0 / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.1845, allocations: 3.853 MB / 0.5707 GB, free: 6.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.251, allocations: 6.5 kB / 0.5707 GB, free: 6.371 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.209815623995382] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.426495591003913 8.441788578 8.285743768 Calling exit ...