Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001661/0.001661, allocations: 116.9 kB / 18.49 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.002126/0.002126, allocations: 220.7 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.44/1.44, 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.2281/0.2281, 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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 76.16 kB / 0.4917 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1166, allocations: 66.05 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003187/0.1198, allocations: 1.729 MB / 0.5579 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1223, allocations: 1.644 MB / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.1224, allocations: 3.938 kB / 0.5595 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1226, allocations: 35.77 kB / 0.5596 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1229, allocations: 107.5 kB / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1231, allocations: 71.69 kB / 0.5597 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1233, allocations: 111.6 kB / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1234, allocations: 19.98 kB / 0.5599 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.1235, allocations: 43.8 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1236, allocations: 47.81 kB / 0.56 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1237, allocations: 4 kB / 0.56 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1238, allocations: 107.9 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.1239, allocations: 19.92 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.1239, allocations: 39.72 kB / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1242, allocations: 171.4 kB / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1242, allocations: 0 / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1242, allocations: 0 / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1242, 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.0005969/0.1248, allocations: 430.6 kB / 0.5607 GB, free: 0.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1248, allocations: 11.97 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.908e-05/0.1249, allocations: 4.188 kB / 0.5607 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.1249, allocations: 42.73 kB / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.125, allocations: 12.84 kB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1252, allocations: 208.8 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1253, allocations: 4.125 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1253, allocations: 8 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1254, allocations: 67.33 kB / 0.561 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1254, allocations: 4 kB / 0.561 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1255, allocations: 0 / 0.561 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1255, allocations: 0 / 0.561 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.1255, allocations: 23.98 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.1259, allocations: 288.9 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1261, allocations: 62.59 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.1262, allocations: 16.86 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1262, allocations: 0 / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.1263, allocations: 71.39 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1263, allocations: 4 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005587/0.1269, allocations: 177.3 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.127, allocations: 77.11 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1272, allocations: 167 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1272, allocations: 29.7 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.1272, allocations: 96.12 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1273, allocations: 31.73 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1273, allocations: 21.72 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1274, allocations: 326.8 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.1275, allocations: 23.92 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.1276, allocations: 46.5 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1277, allocations: 61.77 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1277, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.1279, allocations: 105.6 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1279, allocations: 4 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1279, allocations: 0 / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1279, allocations: 0 / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.128, allocations: 24.31 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.128, allocations: 7.922 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.1281, allocations: 4 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1281, allocations: 4 kB / 0.5626 GB, free: 14.62 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.0001073/0.1282, allocations: 121.8 kB / 0.5628 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1282, allocations: 15.98 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.1283, allocations: 16.7 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1283, allocations: 0 / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1283, allocations: 3.938 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1283, allocations: 4 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.1287, allocations: 395.3 kB / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1287, allocations: 0 / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.1288, allocations: 8 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1288, allocations: 7.969 kB / 0.5632 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1288, allocations: 7.984 kB / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1288, allocations: 0 / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1288, allocations: 0 / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.1291, allocations: 200.3 kB / 0.5634 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.1292, allocations: 89 kB / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1292, allocations: 0 / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.1293, allocations: 15.98 kB / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.1293, allocations: 4 kB / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1293, allocations: 0 / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1294, allocations: 135.3 kB / 0.5636 GB, free: 13.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1294, allocations: 0 / 0.5636 GB, free: 13.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.1297, allocations: 39.88 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.002383/0.1321, allocations: 1.19 MB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1323, allocations: 47.98 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1323, allocations: 8.062 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.1324, allocations: 27.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.0003486/0.1327, allocations: 34.17 kB / 0.5649 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.1346, allocations: 1.599 MB / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1349, allocations: 0.7002 MB / 0.5672 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.1349, allocations: 12.89 kB / 0.5672 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.135, allocations: 43.41 kB / 0.5672 GB, free: 9.855 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.135, allocations: 0 / 0.5672 GB, free: 9.855 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.1613, allocations: 4.082 MB / 0.5712 GB, free: 5.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.232, allocations: 7.938 kB / 0.5712 GB, free: 5.793 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.173987347981893] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.411519117013086 8.427443911 8.300405088 Calling exit ...