Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001364/0.001364, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001488/0.001488, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.459/1.459, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.2268/0.2268, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 87.86 kB / 0.4917 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1383, allocations: 66.04 MB / 0.5562 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003236/0.1416, allocations: 1.831 MB / 0.558 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.1443, allocations: 1.714 MB / 0.5597 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.1444, allocations: 4 kB / 0.5597 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.1447, allocations: 51.62 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.1451, allocations: 143.4 kB / 0.5599 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1453, allocations: 103.7 kB / 0.56 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1456, allocations: 211.3 kB / 0.5602 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.1457, allocations: 5.688 kB / 0.5602 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1458, allocations: 87.58 kB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1461, allocations: 91.53 kB / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.1461, allocations: 8 kB / 0.5604 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1463, allocations: 111.9 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.1464, allocations: 35.84 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.1464, allocations: 63.59 kB / 0.5606 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1468, allocations: 239 kB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1468, allocations: 0 / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1468, allocations: 0 / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1468, allocations: 0 / 0.5608 GB, free: 0.7695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007657/0.1476, allocations: 0.4941 MB / 0.5613 GB, free: 232 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1476, allocations: 8.031 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.51e-05/0.1476, allocations: 4.188 kB / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.1477, allocations: 34.75 kB / 0.5613 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.1477, allocations: 20.83 kB / 0.5613 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.1482, allocations: 260 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1482, allocations: 4.359 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1482, allocations: 4.375 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1484, allocations: 93.03 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1485, allocations: 7.984 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1485, allocations: 7.984 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1485, allocations: 0 / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1486, allocations: 31.92 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.1489, allocations: 222.5 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1491, allocations: 101.2 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.1492, allocations: 37.7 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1493, allocations: 3.938 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.1495, allocations: 109 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1495, allocations: 7.938 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004869/0.15, allocations: 165.5 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1501, allocations: 136.5 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.1504, allocations: 240.9 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1504, allocations: 29.7 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1505, allocations: 116.1 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.1505, allocations: 31.78 kB / 0.5629 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.1506, allocations: 33.72 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1507, allocations: 330.8 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1508, allocations: 27.98 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1509, allocations: 69.12 kB / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1511, allocations: 91.39 kB / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1511, allocations: 0 / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002943/0.1514, allocations: 138 kB / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.1515, allocations: 9.859 kB / 0.5635 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1515, allocations: 0 / 0.5635 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1515, allocations: 4 kB / 0.5635 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1516, allocations: 32.06 kB / 0.5636 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.1516, allocations: 7.984 kB / 0.5636 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.1517, allocations: 11.89 kB / 0.5636 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1517, allocations: 4 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001279/0.1518, allocations: 129.8 kB / 0.5637 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1519, allocations: 19.84 kB / 0.5637 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.1519, allocations: 24.98 kB / 0.5638 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1519, allocations: 3.938 kB / 0.5638 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1519, allocations: 0 / 0.5638 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1519, allocations: 4 kB / 0.5638 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1522, allocations: 225.5 kB / 0.564 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1522, allocations: 0 / 0.564 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1522, allocations: 8 kB / 0.564 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1522, allocations: 0 / 0.564 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1522, allocations: 7.984 kB / 0.564 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1522, allocations: 4 kB / 0.564 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1522, allocations: 0 / 0.564 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.1525, allocations: 173.7 kB / 0.5642 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1526, allocations: 100.9 kB / 0.5643 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1527, allocations: 4 kB / 0.5643 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1527, allocations: 4 kB / 0.5643 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.1528, allocations: 15.97 kB / 0.5643 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1528, allocations: 4 kB / 0.5643 GB, free: 12.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.153, allocations: 185.6 kB / 0.5645 GB, free: 12.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.153, allocations: 0 / 0.5645 GB, free: 12.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000289/0.1533, allocations: 47.94 kB / 0.5645 GB, free: 12.53 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002333/0.1556, allocations: 1.112 MB / 0.5656 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.156, allocations: 79.84 kB / 0.5657 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.156, allocations: 4.125 kB / 0.5657 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1561, allocations: 31.98 kB / 0.5657 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1565, allocations: 55.94 kB / 0.5658 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.1589, allocations: 1.893 MB / 0.5676 GB, free: 9.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1593, allocations: 0.7125 MB / 0.5683 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.386e-05/0.1594, allocations: 38.02 kB / 0.5683 GB, free: 8.617 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1595, allocations: 59.41 kB / 0.5684 GB, free: 8.559 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1595, allocations: 0 / 0.5684 GB, free: 8.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.1842, allocations: 5.36 MB / 0.5736 GB, free: 3.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.364, allocations: 12 kB / 0.5736 GB, free: 3.219 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.350314291019458] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.540301706001628 8.555125349 8.405538738 Calling exit ...