Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001279/0.001279, allocations: 118.3 kB / 18.49 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.00228/0.00228, allocations: 222.3 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.471/1.471, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2297/0.2297, allocations: 46.93 MB / 357.7 MB, free: 10.15 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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 79.88 kB / 0.4917 GB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.135, allocations: 66.05 MB / 0.5562 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003153/0.1382, allocations: 1.729 MB / 0.5579 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1399, allocations: 1.034 MB / 0.5589 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.14, allocations: 0 / 0.5589 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1403, allocations: 51.75 kB / 0.559 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1406, allocations: 103.5 kB / 0.5591 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1407, allocations: 79.66 kB / 0.5592 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1409, allocations: 111.6 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.141, allocations: 8 kB / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.1411, allocations: 51.77 kB / 0.5593 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.1412, allocations: 27.86 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1412, allocations: 4 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.1413, allocations: 43.98 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.1413, allocations: 31.78 kB / 0.5594 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.1414, allocations: 39.73 kB / 0.5595 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1416, allocations: 123.4 kB / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1416, allocations: 0 / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1416, allocations: 0 / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1416, allocations: 4 kB / 0.5596 GB, free: 1.957 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.0005945/0.1422, allocations: 438.5 kB / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1422, allocations: 11.97 kB / 0.56 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.479e-05/0.1423, allocations: 192 / 0.56 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1423, allocations: 42.73 kB / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.1423, allocations: 8.891 kB / 0.5601 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1426, allocations: 217.5 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1426, allocations: 12.38 kB / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1427, allocations: 4.359 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1428, allocations: 65.61 kB / 0.5604 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1428, allocations: 0 / 0.5604 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1428, allocations: 0 / 0.5604 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1428, allocations: 0 / 0.5604 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.1429, allocations: 19.98 kB / 0.5604 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1433, allocations: 300.8 kB / 0.5607 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1435, allocations: 50.69 kB / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.1435, allocations: 20.84 kB / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1435, allocations: 0 / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.1437, allocations: 71.33 kB / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1437, allocations: 0 / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005477/0.1442, allocations: 181.3 kB / 0.561 GB, free: 368 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1443, allocations: 59.34 kB / 0.561 GB, free: 296 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.1445, allocations: 234.1 kB / 0.5612 GB, free: 52 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1445, allocations: 29.7 kB / 0.5613 GB, free: 16 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.1446, allocations: 112.1 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1447, allocations: 23.84 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.1447, allocations: 21.72 kB / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1449, allocations: 334.8 kB / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.1449, allocations: 15.98 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.145, allocations: 41.64 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1451, allocations: 57.66 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1451, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002057/0.1453, allocations: 105.6 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1453, allocations: 9.75 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1453, allocations: 0 / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1454, allocations: 4 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.1455, allocations: 23.86 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1455, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.1455, allocations: 4 kB / 0.562 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1455, allocations: 3.938 kB / 0.562 GB, free: 15.24 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.0001119/0.1456, allocations: 133.8 kB / 0.5621 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.1457, allocations: 11.91 kB / 0.5621 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1457, allocations: 25.39 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1457, allocations: 0 / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1457, allocations: 384 / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1457, allocations: 0 / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.1463, allocations: 407.3 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1463, allocations: 0 / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.1463, allocations: 11.98 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1463, allocations: 0 / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1463, allocations: 11.97 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1463, allocations: 0 / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1463, allocations: 3.938 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1466, allocations: 204.3 kB / 0.5628 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1466, allocations: 93 kB / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1467, allocations: 7.938 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.1467, allocations: 0 / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1468, allocations: 12 kB / 0.5629 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1468, allocations: 7.984 kB / 0.5629 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1469, allocations: 168.4 kB / 0.5631 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1469, allocations: 0 / 0.5631 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1472, allocations: 27.92 kB / 0.5631 GB, free: 14.02 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.002116/0.1493, allocations: 1.105 MB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1495, allocations: 59.91 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.1495, allocations: 0 / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.1496, allocations: 27.97 kB / 0.5642 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1499, allocations: 30.08 kB / 0.5643 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.152, allocations: 1.757 MB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1523, allocations: 0.7158 MB / 0.5667 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.795e-05/0.1524, allocations: 21.17 kB / 0.5667 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1524, allocations: 39.42 kB / 0.5667 GB, free: 10.29 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1524, allocations: 0 / 0.5667 GB, free: 10.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.1722, allocations: 3.682 MB / 0.5703 GB, free: 6.676 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.254, allocations: 8.062 kB / 0.5703 GB, free: 6.668 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.304282420955133] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.439419098955113 8.461675266 8.315539326 Calling exit ...