Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001318/0.001318, 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.001427/0.001427, 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.438/1.438, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2275/0.2275, 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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 75.89 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1269, allocations: 66.04 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003277/0.1302, allocations: 1.739 MB / 0.5579 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.132, allocations: 1.031 MB / 0.5589 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.1321, allocations: 7.938 kB / 0.559 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1324, allocations: 39.77 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1328, allocations: 91.61 kB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.133, allocations: 75.67 kB / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1332, allocations: 111.6 kB / 0.5593 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.1333, allocations: 15.97 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.1334, allocations: 39.8 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.1335, allocations: 31.84 kB / 0.5593 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1335, allocations: 8 kB / 0.5593 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.766e-05/0.1336, allocations: 51.97 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1336, allocations: 15.92 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1337, allocations: 35.69 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1339, allocations: 119.4 kB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1339, allocations: 0 / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1339, allocations: 0 / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1339, allocations: 0 / 0.5596 GB, free: 2.043 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.0005893/0.1345, allocations: 422.7 kB / 0.56 GB, free: 1.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1345, allocations: 12.03 kB / 0.56 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.48e-05/0.1346, allocations: 192 / 0.56 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.1346, allocations: 38.75 kB / 0.56 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1346, allocations: 12.88 kB / 0.56 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1349, allocations: 212.8 kB / 0.5602 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1349, allocations: 12.36 kB / 0.5602 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.135, allocations: 4.375 kB / 0.5602 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1351, allocations: 57.61 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1351, allocations: 4 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1351, allocations: 0 / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1351, allocations: 7.938 kB / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.1352, allocations: 19.92 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.1357, allocations: 288.8 kB / 0.5606 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1359, allocations: 58.61 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.1359, allocations: 20.86 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1359, allocations: 0 / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.1361, allocations: 67.39 kB / 0.5607 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1361, allocations: 0 / 0.5607 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005728/0.1367, allocations: 177.3 kB / 0.5609 GB, free: 488 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.1368, allocations: 51.41 kB / 0.561 GB, free: 424 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.137, allocations: 202.4 kB / 0.5612 GB, free: 212 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.137, allocations: 25.7 kB / 0.5612 GB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.1371, allocations: 100.1 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1371, allocations: 27.78 kB / 0.5613 GB, free: 48 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.1371, allocations: 25.72 kB / 0.5613 GB, free: 16 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1373, allocations: 330.7 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.786e-05/0.1374, allocations: 19.98 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.1374, allocations: 41.7 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1375, allocations: 49.72 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.1376, allocations: 4 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.1378, allocations: 109.5 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1378, allocations: 4 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1378, allocations: 4 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1378, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.1379, allocations: 20.02 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.1379, allocations: 4.141 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.1379, allocations: 7.938 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1379, allocations: 8.312 kB / 0.5619 GB, free: 15.4 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.0001097/0.1381, allocations: 125.8 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1381, allocations: 11.91 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.1381, allocations: 17.41 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1381, allocations: 0 / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1381, allocations: 4 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1381, allocations: 4 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.1387, allocations: 395.3 kB / 0.5624 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1387, allocations: 3.938 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1387, allocations: 8 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1388, allocations: 4.172 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1388, allocations: 7.938 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1388, allocations: 3.938 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.1388, allocations: 3.984 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.139, allocations: 208.3 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.1391, allocations: 89.02 kB / 0.5627 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1391, allocations: 7.938 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.1392, allocations: 4 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1392, allocations: 7.984 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1392, allocations: 4 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1394, allocations: 152.2 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1394, allocations: 0 / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1396, allocations: 23.94 kB / 0.5629 GB, free: 14.22 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.002209/0.1419, allocations: 1.086 MB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.142, allocations: 59.91 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.142, allocations: 0 / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.1421, allocations: 23.98 kB / 0.5641 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1425, allocations: 36.39 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1444, allocations: 1.668 MB / 0.5657 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1448, allocations: 0.708 MB / 0.5664 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.1448, allocations: 12.88 kB / 0.5664 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.1449, allocations: 35.42 kB / 0.5665 GB, free: 10.61 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1449, allocations: 0 / 0.5665 GB, free: 10.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1632, allocations: 3.506 MB / 0.5699 GB, free: 7.176 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.111, allocations: 12.81 kB / 0.5699 GB, free: 7.168 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.082954865996726] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.286267008981667 8.30290216 8.165902822 Calling exit ...