Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.00129/0.00129, 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.001454/0.001454, 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.437/1.437, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.2198/0.2198, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 71.89 kB / 0.4917 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1225, allocations: 66.05 MB / 0.5562 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003415/0.1259, allocations: 1.728 MB / 0.5579 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1286, allocations: 1.648 MB / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1287, allocations: 3.938 kB / 0.5595 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1291, allocations: 27.84 kB / 0.5596 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.1295, allocations: 103.5 kB / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1297, allocations: 79.67 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1299, allocations: 111.6 kB / 0.5598 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.13, allocations: 16 kB / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1302, allocations: 47.78 kB / 0.5599 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1304, allocations: 43.83 kB / 0.56 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1304, allocations: 4 kB / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.1306, allocations: 111.9 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.1307, allocations: 23.91 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.1307, allocations: 39.67 kB / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.1311, allocations: 171.4 kB / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1311, allocations: 0 / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1311, allocations: 0 / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1311, allocations: 0 / 0.5603 GB, free: 1.301 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.0007839/0.1319, allocations: 434.5 kB / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1319, allocations: 8.031 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.533e-05/0.1319, allocations: 192 / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.132, allocations: 42.75 kB / 0.5607 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.132, allocations: 12.84 kB / 0.5608 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.1324, allocations: 216.7 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1324, allocations: 4.125 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1325, allocations: 8 kB / 0.561 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1327, allocations: 67.33 kB / 0.561 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1327, allocations: 0 / 0.561 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1327, allocations: 8 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1327, allocations: 0 / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.1328, allocations: 15.98 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.1332, allocations: 288.9 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1334, allocations: 54.62 kB / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.412e-05/0.1334, allocations: 20.92 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1335, allocations: 0 / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1336, allocations: 71.39 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1336, allocations: 4 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005932/0.1342, allocations: 177.3 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1343, allocations: 77.11 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1345, allocations: 162.4 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1345, allocations: 33.7 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.1346, allocations: 96.12 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1346, allocations: 27.75 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1347, allocations: 29.7 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1348, allocations: 318.8 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.1349, allocations: 19.98 kB / 0.5624 GB, free: 14.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.1349, allocations: 46.5 kB / 0.5624 GB, free: 14.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1351, allocations: 61.61 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1351, allocations: 0 / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.1353, allocations: 101.8 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1353, allocations: 10.03 kB / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1353, allocations: 3.938 kB / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1353, allocations: 3.938 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1355, allocations: 20.36 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1355, allocations: 3.938 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.1356, allocations: 4 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1356, allocations: 4 kB / 0.5626 GB, free: 14.63 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.0001578/0.1357, allocations: 131.5 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.1358, allocations: 11.98 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.1358, allocations: 12.72 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1358, allocations: 0 / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1358, allocations: 3.938 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1358, allocations: 3.984 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.1365, allocations: 403.2 kB / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1365, allocations: 0 / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.1365, allocations: 8 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.1365, allocations: 7.969 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1365, allocations: 0 / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1365, allocations: 4 kB / 0.5632 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1365, allocations: 0 / 0.5632 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.1369, allocations: 208.5 kB / 0.5634 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/0.137, allocations: 89 kB / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.137, allocations: 4 kB / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1371, allocations: 8 kB / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.1372, allocations: 3.984 kB / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1372, allocations: 4 kB / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1373, allocations: 131.9 kB / 0.5636 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1373, allocations: 0 / 0.5636 GB, free: 13.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.1378, allocations: 47.86 kB / 0.5637 GB, free: 13.47 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.003103/0.1409, allocations: 1.184 MB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.1412, allocations: 51.97 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1412, allocations: 4.062 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1413, allocations: 31.92 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.1417, allocations: 27.11 kB / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.144, allocations: 1.588 MB / 0.5665 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1444, allocations: 0.7041 MB / 0.5672 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.434e-05/0.1445, allocations: 17.19 kB / 0.5672 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.1445, allocations: 31.42 kB / 0.5672 GB, free: 9.871 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1445, allocations: 0 / 0.5672 GB, free: 9.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.1676, allocations: 4.088 MB / 0.5712 GB, free: 5.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.352, allocations: 7.625 kB / 0.5712 GB, free: 5.805 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.235711899003945] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.533835182024632 8.561158501 8.425066063 Calling exit ...