Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001336/0.001336, 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.001407/0.001407, 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.449/1.449, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2277/0.2277, allocations: 46.92 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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 83.88 kB / 0.4917 GB, free: 26.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1275, allocations: 66.04 MB / 0.5562 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003257/0.1308, allocations: 1.698 MB / 0.5579 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1325, allocations: 1.01 MB / 0.5589 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.1325, allocations: 0 / 0.5589 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1329, allocations: 71.72 kB / 0.5589 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1332, allocations: 111.5 kB / 0.559 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1334, allocations: 63.75 kB / 0.5591 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1336, allocations: 111.6 kB / 0.5592 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.1336, allocations: 8.219 kB / 0.5592 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1337, allocations: 51.77 kB / 0.5593 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1338, allocations: 51.77 kB / 0.5593 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1338, allocations: 7.938 kB / 0.5593 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.1339, allocations: 32 kB / 0.5593 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.134, allocations: 23.84 kB / 0.5594 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.134, allocations: 35.8 kB / 0.5594 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1342, allocations: 103.8 kB / 0.5595 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1342, allocations: 0 / 0.5595 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1342, allocations: 0 / 0.5595 GB, free: 5.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1342, allocations: 3.938 kB / 0.5595 GB, free: 5.203 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005697/0.1348, allocations: 410.8 kB / 0.5599 GB, free: 4.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1348, allocations: 8.031 kB / 0.5599 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.611e-05/0.1349, allocations: 192 / 0.5599 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.1349, allocations: 38.75 kB / 0.5599 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.1349, allocations: 12.84 kB / 0.56 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.1352, allocations: 212.8 kB / 0.5602 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1353, allocations: 384 / 0.5602 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1353, allocations: 4.375 kB / 0.5602 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1354, allocations: 49.61 kB / 0.5602 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1354, allocations: 0 / 0.5602 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1354, allocations: 4 kB / 0.5602 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1354, allocations: 0 / 0.5602 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/0.1355, allocations: 15.98 kB / 0.5602 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.1357, allocations: 189.6 kB / 0.5604 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1359, allocations: 54.55 kB / 0.5605 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.1359, allocations: 20.84 kB / 0.5605 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.136, allocations: 7.938 kB / 0.5605 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.1361, allocations: 67.39 kB / 0.5606 GB, free: 3.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1361, allocations: 0 / 0.5606 GB, free: 3.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000288/0.1364, allocations: 93.56 kB / 0.5606 GB, free: 3.859 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.1365, allocations: 59.39 kB / 0.5607 GB, free: 3.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.1367, allocations: 206.2 kB / 0.5609 GB, free: 3.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.1369, allocations: 25.7 kB / 0.5609 GB, free: 3.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1369, allocations: 96.14 kB / 0.561 GB, free: 3.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.137, allocations: 19.89 kB / 0.561 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.137, allocations: 21.72 kB / 0.5611 GB, free: 3.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1372, allocations: 322.8 kB / 0.5614 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.1372, allocations: 12 kB / 0.5614 GB, free: 3.066 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.1373, allocations: 33.7 kB / 0.5614 GB, free: 3.027 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.974e-05/0.1374, allocations: 41.64 kB / 0.5614 GB, free: 2.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1374, allocations: 4 kB / 0.5614 GB, free: 2.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001754/0.1376, allocations: 89.53 kB / 0.5615 GB, free: 2.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1376, allocations: 4 kB / 0.5615 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1376, allocations: 0 / 0.5615 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1376, allocations: 3.938 kB / 0.5615 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.1377, allocations: 19.92 kB / 0.5616 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1377, allocations: 0 / 0.5616 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.1377, allocations: 0 / 0.5616 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1377, allocations: 4 kB / 0.5616 GB, free: 2.852 MB / 414.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 (7): * Single equations (assignments): 7 * 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.000103/0.1378, allocations: 125.9 kB / 0.5617 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1379, allocations: 11.89 kB / 0.5617 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.1379, allocations: 17 kB / 0.5617 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1379, allocations: 0 / 0.5617 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1379, allocations: 0 / 0.5617 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1379, allocations: 3.984 kB / 0.5617 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1381, allocations: 189.5 kB / 0.5619 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1381, allocations: 0 / 0.5619 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.1381, allocations: 4.312 kB / 0.5619 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1381, allocations: 0 / 0.5619 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1382, allocations: 15.98 kB / 0.5619 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1382, allocations: 0 / 0.5619 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1382, allocations: 0 / 0.5619 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1384, allocations: 109 kB / 0.562 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.1384, allocations: 88.98 kB / 0.5621 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1385, allocations: 8 kB / 0.5621 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.37e-05/0.1385, allocations: 0 / 0.5621 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1385, allocations: 8 kB / 0.5621 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1386, allocations: 7.922 kB / 0.5621 GB, free: 2.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1387, allocations: 144.2 kB / 0.5623 GB, free: 2.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1387, allocations: 0 / 0.5623 GB, free: 2.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.1389, allocations: 19.98 kB / 0.5623 GB, free: 2.016 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001867/0.1408, allocations: 0.9492 MB / 0.5632 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.1409, allocations: 35.98 kB / 0.5632 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1409, allocations: 0 / 0.5632 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.141, allocations: 19.92 kB / 0.5633 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1413, allocations: 23.92 kB / 0.5633 GB, free: 1.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.143, allocations: 1.512 MB / 0.5648 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1433, allocations: 0.704 MB / 0.5655 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.165e-05/0.1434, allocations: 20.52 kB / 0.5655 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.1434, allocations: 35.42 kB / 0.5655 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1434, allocations: 0 / 0.5655 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.162, allocations: 3.202 MB / 0.5686 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.158, allocations: 11.94 kB / 0.5686 GB, free: 11.58 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.17838194599608] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.335739726026077 8.354195528 8.216841804 Calling exit ...