Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.001619/0.001619, allocations: 117 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.001959/0.001959, allocations: 216.7 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.433/1.433, 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.2291/0.2291, allocations: 46.93 MB / 357.7 MB, free: 10.19 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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 84.16 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1266, allocations: 66.04 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003899/0.1305, allocations: 1.74 MB / 0.5579 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1326, allocations: 1.03 MB / 0.5589 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.1327, allocations: 7.938 kB / 0.5589 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.133, allocations: 47.75 kB / 0.559 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.1334, allocations: 91.61 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1337, allocations: 83.66 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1339, allocations: 95.7 kB / 0.5592 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.134, allocations: 19.97 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1341, allocations: 47.73 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.1342, allocations: 31.84 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1342, allocations: 4 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1343, allocations: 47.97 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.1344, allocations: 23.86 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.1345, allocations: 35.75 kB / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.1348, allocations: 119.4 kB / 0.5596 GB, free: 2.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1348, allocations: 3.984 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1348, allocations: 0 / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1348, allocations: 0 / 0.5596 GB, free: 2.027 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.0007593/0.1356, allocations: 434.5 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.1356, allocations: 12.03 kB / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.943e-05/0.1357, allocations: 4.188 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.1357, allocations: 34.75 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.1358, allocations: 8.891 kB / 0.56 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.1361, allocations: 216.1 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1361, allocations: 384 / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1362, allocations: 4.375 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1363, allocations: 61.55 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1364, allocations: 7.984 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1364, allocations: 4 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1364, allocations: 0 / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.1364, allocations: 19.98 kB / 0.5603 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.1368, allocations: 284.8 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.137, allocations: 62.61 kB / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.1371, allocations: 24.84 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1371, allocations: 0 / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.1373, allocations: 67.38 kB / 0.5608 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1373, allocations: 0 / 0.5608 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.1379, allocations: 185.3 kB / 0.5609 GB, free: 456 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1379, allocations: 51.41 kB / 0.561 GB, free: 392 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1381, allocations: 218 kB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1382, allocations: 29.7 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.1382, allocations: 100.1 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1383, allocations: 23.84 kB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.1383, allocations: 21.77 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1385, allocations: 330.7 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.1386, allocations: 19.98 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.565e-05/0.1386, allocations: 45.64 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1388, allocations: 49.72 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1388, allocations: 0 / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000222/0.139, allocations: 113.5 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.139, allocations: 7.938 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.139, allocations: 4 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.139, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.1391, allocations: 20.02 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1391, allocations: 0 / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1392, allocations: 4 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1392, allocations: 7.938 kB / 0.5619 GB, free: 15.36 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.000126/0.1393, allocations: 129.8 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1393, allocations: 15.91 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.1394, allocations: 13.41 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1394, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1394, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1394, allocations: 7.984 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.1399, allocations: 399.3 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1399, allocations: 0 / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.14, allocations: 8 kB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.14, allocations: 0 / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.14, allocations: 11.92 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.14, allocations: 4 kB / 0.5625 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.14, allocations: 0 / 0.5625 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1403, allocations: 204.3 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.1403, allocations: 85.06 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1403, allocations: 8.312 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.1404, allocations: 7.984 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1405, allocations: 4 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1405, allocations: 4.188 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1406, allocations: 168.3 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1406, allocations: 3.938 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.1409, allocations: 27.92 kB / 0.563 GB, free: 14.16 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.002316/0.1432, allocations: 1.092 MB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1435, allocations: 59.89 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1435, allocations: 0 / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.1435, allocations: 31.92 kB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1439, allocations: 35.05 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1459, allocations: 1.693 MB / 0.5658 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1463, allocations: 0.7041 MB / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.1463, allocations: 24.8 kB / 0.5665 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.1464, allocations: 39.42 kB / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1464, allocations: 0 / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.165, allocations: 3.553 MB / 0.57 GB, free: 7.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.184, allocations: 6.25 kB / 0.5701 GB, free: 7.02 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.188159530982375] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.359786565997638 8.373987368 8.236328392 Calling exit ...