Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001469/0.001469, allocations: 120.1 kB / 18.5 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.001332/0.001332, 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.441/1.441, 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.2211/0.2211, allocations: 46.92 MB / 357.7 MB, free: 10.18 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 83.88 kB / 0.4917 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 66.05 MB / 0.5562 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003355/0.1314, allocations: 1.729 MB / 0.5579 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1332, allocations: 1.034 MB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.1332, allocations: 4 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.1336, allocations: 43.77 kB / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.134, allocations: 99.53 kB / 0.5591 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.1342, allocations: 67.73 kB / 0.5591 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1344, allocations: 115.6 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1345, allocations: 8 kB / 0.5593 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1347, allocations: 43.78 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.1347, allocations: 35.84 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1348, allocations: 4 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1349, allocations: 47.98 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.1349, allocations: 27.84 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.135, allocations: 35.73 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1353, allocations: 115.4 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1353, allocations: 0 / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1353, allocations: 4 kB / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1353, allocations: 0 / 0.5596 GB, free: 2.023 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.0006337/0.1359, allocations: 418.7 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.136, allocations: 12.03 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.617e-05/0.136, allocations: 4.188 kB / 0.56 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.136, allocations: 34.75 kB / 0.56 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.136, allocations: 12.83 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1364, allocations: 220.8 kB / 0.5602 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1364, allocations: 8.375 kB / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1364, allocations: 384 / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1365, allocations: 57.61 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1366, allocations: 4 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1366, allocations: 0 / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1366, allocations: 4 kB / 0.5603 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.1367, allocations: 23.92 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.1371, allocations: 296.8 kB / 0.5606 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1373, allocations: 50.69 kB / 0.5607 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.1373, allocations: 24.84 kB / 0.5607 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1373, allocations: 4 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.1375, allocations: 67.33 kB / 0.5607 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1375, allocations: 0 / 0.5607 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.1381, allocations: 169.4 kB / 0.5609 GB, free: 472 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1382, allocations: 59.34 kB / 0.561 GB, free: 400 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1384, allocations: 194.4 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1384, allocations: 33.7 kB / 0.5612 GB, free: 156 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.1385, allocations: 100.1 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.1385, allocations: 23.8 kB / 0.5613 GB, free: 28 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.1386, allocations: 25.78 kB / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1388, allocations: 326.8 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.1389, allocations: 20 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.342e-05/0.1389, allocations: 33.7 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1391, allocations: 73.61 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1391, allocations: 0 / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.1393, allocations: 101.6 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1393, allocations: 8 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1393, allocations: 0 / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1393, allocations: 0 / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.1394, allocations: 19.94 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1394, allocations: 0 / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.1394, allocations: 8.016 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1395, allocations: 7.938 kB / 0.5619 GB, free: 15.38 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.0001251/0.1396, allocations: 123.7 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1396, allocations: 16.09 kB / 0.562 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.1397, allocations: 17.39 kB / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1397, allocations: 3.938 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1397, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1397, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.1402, allocations: 403.2 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1402, allocations: 0 / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.1402, allocations: 12.31 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1402, allocations: 4 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1402, allocations: 3.938 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1402, allocations: 7.938 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1402, allocations: 0 / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1405, allocations: 204.4 kB / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1405, allocations: 89 kB / 0.5627 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1406, allocations: 11.94 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.1406, allocations: 0 / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1407, allocations: 11.97 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.1407, allocations: 4 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1408, allocations: 148.2 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1408, allocations: 4 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1411, allocations: 23.94 kB / 0.5629 GB, free: 14.21 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.002296/0.1434, allocations: 1.09 MB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1436, allocations: 59.91 kB / 0.5641 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1436, allocations: 0 / 0.5641 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.1437, allocations: 23.98 kB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1441, allocations: 37.08 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.146, allocations: 1.662 MB / 0.5657 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1464, allocations: 0.7041 MB / 0.5664 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.562e-05/0.1464, allocations: 21.17 kB / 0.5665 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.1465, allocations: 35.42 kB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1465, allocations: 0 / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.1652, allocations: 3.509 MB / 0.5699 GB, free: 7.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.219, allocations: 8 kB / 0.5699 GB, free: 7.145 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.167621233034879] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.398554631043226 8.425142906 8.285064375 Calling exit ...