Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001689/0.001689, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001729/0.001729, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.466/1.466, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.2306/0.2306, allocations: 46.92 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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 83.88 kB / 0.4917 GB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1336, allocations: 66.04 MB / 0.5562 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003592/0.1372, allocations: 1.741 MB / 0.5579 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.139, allocations: 1.034 MB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.1391, allocations: 0 / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.1394, allocations: 43.77 kB / 0.559 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1397, allocations: 99.47 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1399, allocations: 75.73 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.1402, allocations: 107.6 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.1403, allocations: 16 kB / 0.5593 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1404, allocations: 43.78 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.1405, allocations: 31.84 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1405, allocations: 4 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1406, allocations: 43.98 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.1407, allocations: 23.86 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.1407, allocations: 39.73 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.141, allocations: 107.5 kB / 0.5595 GB, free: 2.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.141, allocations: 0 / 0.5595 GB, free: 2.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.141, allocations: 0 / 0.5595 GB, free: 2.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.141, allocations: 4 kB / 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.0006664/0.1416, allocations: 422.7 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1417, allocations: 12.03 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.1417, allocations: 192 / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1417, allocations: 34.73 kB / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.1418, allocations: 16.84 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.1421, allocations: 208.1 kB / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1421, allocations: 4.375 kB / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1421, allocations: 4.375 kB / 0.5602 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1423, allocations: 57.61 kB / 0.5603 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1423, allocations: 4 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1423, allocations: 0 / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1423, allocations: 4 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.1424, allocations: 23.98 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1428, allocations: 284.8 kB / 0.5606 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.143, allocations: 58.66 kB / 0.5606 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.143, allocations: 16.86 kB / 0.5607 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.143, allocations: 0 / 0.5607 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.1432, allocations: 75.31 kB / 0.5607 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1432, allocations: 0 / 0.5607 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005668/0.1438, allocations: 177.3 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1438, allocations: 55.34 kB / 0.5609 GB, free: 424 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.144, allocations: 183.3 kB / 0.5611 GB, free: 228 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1441, allocations: 29.7 kB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1441, allocations: 100.1 kB / 0.5612 GB, free: 88 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.1441, allocations: 19.86 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.1442, allocations: 25.7 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1443, allocations: 334.7 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.1444, allocations: 20 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.1445, allocations: 37.64 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1446, allocations: 61.64 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1446, allocations: 4 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.1448, allocations: 97.58 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1448, allocations: 8.031 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1448, allocations: 4 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1448, allocations: 3.984 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.1449, allocations: 15.94 kB / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1449, allocations: 0 / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.145, allocations: 8 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.145, allocations: 7.938 kB / 0.5619 GB, free: 15.42 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.0001135/0.1451, allocations: 121.8 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.1451, allocations: 7.953 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.1452, allocations: 21.39 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1452, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.1452, allocations: 4 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1452, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.1457, allocations: 395.2 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1457, allocations: 384 / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.1457, allocations: 8 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1458, allocations: 7.984 kB / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1458, allocations: 15.97 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1458, allocations: 0 / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1458, allocations: 3.938 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.146, allocations: 192.3 kB / 0.5626 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.1461, allocations: 89.02 kB / 0.5627 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1461, allocations: 11.94 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.1462, allocations: 3.984 kB / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1462, allocations: 8 kB / 0.5627 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1462, allocations: 4 kB / 0.5627 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1464, allocations: 140.9 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1464, allocations: 3.938 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1466, allocations: 23.94 kB / 0.5629 GB, free: 14.27 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.002218/0.1488, allocations: 1.092 MB / 0.5639 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.149, allocations: 59.91 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.149, allocations: 0 / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.1491, allocations: 23.98 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.0003444/0.1495, allocations: 30.5 kB / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1515, allocations: 1.641 MB / 0.5657 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1519, allocations: 0.7196 MB / 0.5664 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.363e-05/0.1519, allocations: 13.19 kB / 0.5664 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.152, allocations: 35.42 kB / 0.5664 GB, free: 10.67 MB / 430.1 MB Notification: Performance of SimCode: time 5.92e-07/0.152, allocations: 0 / 0.5664 GB, free: 10.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.1723, allocations: 3.456 MB / 0.5698 GB, free: 7.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.268, allocations: 12 kB / 0.5698 GB, free: 7.277 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.248298382968642] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.444774899980985 8.458571146 8.314802574 Calling exit ...