Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001743/0.001743, allocations: 120 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.002197/0.002197, 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.459/1.459, 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.2301/0.2301, allocations: 46.9 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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 75.88 kB / 0.4917 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1332, allocations: 66.05 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003516/0.1367, allocations: 1.735 MB / 0.5579 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1386, allocations: 1.031 MB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.1387, allocations: 4 kB / 0.5589 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1389, allocations: 35.77 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1392, allocations: 99.53 kB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1394, allocations: 79.73 kB / 0.5592 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1396, allocations: 103.6 kB / 0.5592 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1398, allocations: 19.98 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1399, allocations: 39.8 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.972e-05/0.1399, allocations: 35.83 kB / 0.5593 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.14, allocations: 4 kB / 0.5593 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1401, allocations: 47.92 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1401, allocations: 15.92 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.1402, allocations: 31.75 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1404, allocations: 115.5 kB / 0.5595 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1404, allocations: 4 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.606e-06/0.1404, allocations: 4 kB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1405, allocations: 0 / 0.5596 GB, free: 2.051 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.000698/0.1412, allocations: 422.7 kB / 0.56 GB, free: 1.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1412, allocations: 8.031 kB / 0.56 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.202e-05/0.1412, allocations: 192 / 0.56 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.1413, allocations: 42.62 kB / 0.56 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.1413, allocations: 12.84 kB / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1417, allocations: 212.2 kB / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1417, allocations: 384 / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1417, allocations: 4.375 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1419, allocations: 57.61 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1419, allocations: 3.984 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1419, allocations: 0 / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1419, allocations: 0 / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.142, allocations: 23.92 kB / 0.5603 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1424, allocations: 284.9 kB / 0.5606 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1426, allocations: 54.69 kB / 0.5606 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.1427, allocations: 20.84 kB / 0.5606 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1427, allocations: 0 / 0.5606 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.1429, allocations: 71.33 kB / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1429, allocations: 0 / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006267/0.1436, allocations: 189.5 kB / 0.5609 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1436, allocations: 51.41 kB / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1438, allocations: 179.3 kB / 0.5611 GB, free: 248 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1438, allocations: 29.7 kB / 0.5611 GB, free: 212 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1439, allocations: 96.14 kB / 0.5612 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1439, allocations: 23.84 kB / 0.5613 GB, free: 88 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.144, allocations: 29.72 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1442, allocations: 322.8 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/0.1442, allocations: 23.98 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.1443, allocations: 41.64 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1444, allocations: 61.7 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1444, allocations: 0 / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.1446, allocations: 105.6 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1447, allocations: 8 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1447, allocations: 0 / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1447, allocations: 0 / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/0.1448, allocations: 19.92 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1448, allocations: 4 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.1448, allocations: 0 / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1448, allocations: 7.938 kB / 0.5619 GB, free: 15.44 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.0001181/0.1449, allocations: 130 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.145, allocations: 11.94 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.145, allocations: 21.34 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.145, allocations: 0 / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.145, allocations: 3.984 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.145, allocations: 0 / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.1455, allocations: 395.2 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1455, allocations: 0 / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1455, allocations: 11.94 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1455, allocations: 4.031 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1456, allocations: 7.922 kB / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1456, allocations: 4 kB / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1456, allocations: 0 / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1458, allocations: 200.3 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.1459, allocations: 89.02 kB / 0.5627 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1459, allocations: 7.938 kB / 0.5627 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.146, allocations: 4 kB / 0.5627 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.146, allocations: 7.984 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.146, allocations: 4 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1461, allocations: 140.9 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1461, allocations: 0 / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1464, allocations: 23.94 kB / 0.5629 GB, free: 14.29 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.002255/0.1487, allocations: 1.101 MB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1488, allocations: 59.91 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1488, allocations: 0 / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.1489, allocations: 27.92 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1493, allocations: 23.98 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1511, allocations: 1.648 MB / 0.5657 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1515, allocations: 0.704 MB / 0.5664 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.1516, allocations: 17.17 kB / 0.5664 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.1517, allocations: 35.42 kB / 0.5664 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1517, allocations: 0 / 0.5664 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.17, allocations: 3.45 MB / 0.5698 GB, free: 7.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.214, allocations: 16.66 kB / 0.5698 GB, free: 7.293 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.195771108032204] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.389831987034995 8.404766931 8.26140919 Calling exit ...