Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001443/0.001443, 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.001613/0.001613, 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.461/1.461, 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.231/0.231, allocations: 46.92 MB / 357.7 MB, free: 10.26 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 79.88 kB / 0.4917 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1307, allocations: 66.05 MB / 0.5563 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003437/0.1341, allocations: 1.766 MB / 0.558 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1359, allocations: 1.04 MB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.136, allocations: 3.938 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.1364, allocations: 111.7 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.1367, allocations: 131.5 kB / 0.5592 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.1369, allocations: 79.72 kB / 0.5593 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1372, allocations: 131.6 kB / 0.5594 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1373, allocations: 25.38 kB / 0.5595 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1374, allocations: 59.77 kB / 0.5595 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1375, allocations: 75.73 kB / 0.5596 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1375, allocations: 4 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1376, allocations: 71.89 kB / 0.5597 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.1377, allocations: 35.8 kB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.1378, allocations: 51.61 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.138, allocations: 159.3 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.138, allocations: 0 / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.138, allocations: 0 / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.138, allocations: 0 / 0.5599 GB, free: 1.715 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006812/0.1387, allocations: 474.3 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1388, allocations: 8.031 kB / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.541e-05/0.1388, allocations: 4.188 kB / 0.5604 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.1388, allocations: 42.67 kB / 0.5604 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.1389, allocations: 16.84 kB / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1392, allocations: 221.1 kB / 0.5606 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1392, allocations: 8.375 kB / 0.5606 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1393, allocations: 12.36 kB / 0.5606 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1395, allocations: 81.53 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1395, allocations: 3.953 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1395, allocations: 0 / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1395, allocations: 0 / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1396, allocations: 39.91 kB / 0.5608 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.1401, allocations: 324.7 kB / 0.5611 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1404, allocations: 82.52 kB / 0.5612 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.1404, allocations: 24.8 kB / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1405, allocations: 0 / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1406, allocations: 79.38 kB / 0.5613 GB, free: 148 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1406, allocations: 0 / 0.5613 GB, free: 148 kB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008977/0.1415, allocations: 313.6 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1416, allocations: 55.34 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.1418, allocations: 259.7 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1419, allocations: 29.7 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.142, allocations: 116.1 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.142, allocations: 47.64 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.1421, allocations: 29.7 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1422, allocations: 330.8 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.1423, allocations: 39.98 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1424, allocations: 61.62 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1426, allocations: 105.6 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1426, allocations: 0 / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002737/0.1429, allocations: 155.1 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1429, allocations: 8 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1429, allocations: 4.141 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1429, allocations: 3.938 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.143, allocations: 35.92 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.143, allocations: 0 / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.1431, allocations: 0 / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1431, allocations: 12 kB / 0.5628 GB, free: 14.5 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 (16): * Single equations (assignments): 16 * 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.0001183/0.1432, allocations: 135.3 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1432, allocations: 19.86 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.1433, allocations: 29.52 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1433, allocations: 7.938 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1433, allocations: 0 / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1433, allocations: 0 / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.1439, allocations: 0.504 MB / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1439, allocations: 0 / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.144, allocations: 23.94 kB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.144, allocations: 3.984 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.144, allocations: 8.062 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.144, allocations: 0 / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.144, allocations: 4 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.1444, allocations: 261 kB / 0.5637 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.1444, allocations: 93 kB / 0.5638 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.1445, allocations: 11.94 kB / 0.5638 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.1446, allocations: 11.98 kB / 0.5639 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.1446, allocations: 8 kB / 0.5639 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1446, allocations: 7.984 kB / 0.5639 GB, free: 13.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1448, allocations: 193.5 kB / 0.5641 GB, free: 13.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1448, allocations: 288 / 0.5641 GB, free: 13.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1451, allocations: 39.92 kB / 0.5641 GB, free: 13.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002444/0.1475, allocations: 1.209 MB / 0.5653 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1478, allocations: 95.91 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1478, allocations: 0 / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1479, allocations: 51.97 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1483, allocations: 31.77 kB / 0.5655 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.1506, allocations: 2.005 MB / 0.5674 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.151, allocations: 0.7356 MB / 0.5681 GB, free: 8.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.624e-05/0.1511, allocations: 25.34 kB / 0.5682 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.1512, allocations: 51.42 kB / 0.5682 GB, free: 8.879 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1512, allocations: 7.938 kB / 0.5682 GB, free: 8.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.1715, allocations: 4.386 MB / 0.5725 GB, free: 4.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.253, allocations: 15.91 kB / 0.5725 GB, free: 4.535 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.25757481198525] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 8.432785001990851 8.455956474 8.313596573 Calling exit ...