Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001339/0.001339, allocations: 118.3 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.001365/0.001365, allocations: 222.3 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.467/1.467, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.218/0.218, allocations: 46.91 MB / 357.7 MB, free: 10.16 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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 75.88 kB / 0.4917 GB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1182, allocations: 66.05 MB / 0.5562 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003008/0.1212, allocations: 1.69 MB / 0.5579 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1229, allocations: 1.014 MB / 0.5589 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.123, allocations: 0 / 0.5589 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1233, allocations: 71.72 kB / 0.5589 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.1236, allocations: 115.5 kB / 0.5591 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.1237, allocations: 63.75 kB / 0.5591 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1239, allocations: 107.7 kB / 0.5592 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.1239, allocations: 8.219 kB / 0.5592 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.124, allocations: 47.78 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.1241, allocations: 51.77 kB / 0.5593 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1241, allocations: 0 / 0.5593 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.827e-05/0.1242, allocations: 39.98 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.1243, allocations: 19.92 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.1243, allocations: 39.67 kB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1245, allocations: 99.58 kB / 0.5595 GB, free: 2.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1245, allocations: 4 kB / 0.5595 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1245, allocations: 0 / 0.5595 GB, free: 2.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1245, allocations: 0 / 0.5595 GB, free: 2.035 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.000573/0.1251, allocations: 414.7 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1251, allocations: 8.031 kB / 0.5599 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.8e-05/0.1252, allocations: 192 / 0.5599 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.1252, allocations: 42.75 kB / 0.56 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1252, allocations: 12.84 kB / 0.56 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1256, allocations: 208.8 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1256, allocations: 384 / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1256, allocations: 384 / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1257, allocations: 57.61 kB / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.1257, allocations: 0 / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1258, allocations: 0 / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1258, allocations: 0 / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.704e-05/0.1258, allocations: 19.92 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.1261, allocations: 189.6 kB / 0.5604 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1262, allocations: 46.56 kB / 0.5605 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.1263, allocations: 24.78 kB / 0.5605 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1263, allocations: 3.938 kB / 0.5605 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.1265, allocations: 71.38 kB / 0.5606 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1265, allocations: 0 / 0.5606 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003091/0.1268, allocations: 93.56 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1268, allocations: 51.41 kB / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.127, allocations: 202.4 kB / 0.5609 GB, free: 428 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.127, allocations: 25.7 kB / 0.5609 GB, free: 396 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.1271, allocations: 100.1 kB / 0.561 GB, free: 292 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1271, allocations: 23.89 kB / 0.561 GB, free: 268 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1272, allocations: 21.7 kB / 0.5611 GB, free: 240 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1273, allocations: 322.8 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.1274, allocations: 12 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.1275, allocations: 29.7 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.1276, allocations: 45.7 kB / 0.5614 GB, free: 15.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1276, allocations: 7.938 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001617/0.1277, allocations: 81.78 kB / 0.5615 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1277, allocations: 8 kB / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1278, allocations: 4.062 kB / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1278, allocations: 0 / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.1278, allocations: 15.92 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1279, allocations: 4 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.1279, allocations: 3.938 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1279, allocations: 4 kB / 0.5616 GB, free: 15.68 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 (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.0001065/0.128, allocations: 125.9 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.128, allocations: 15.89 kB / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.1281, allocations: 9 kB / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1281, allocations: 4 kB / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1281, allocations: 0 / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1281, allocations: 0 / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1283, allocations: 193.5 kB / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1283, allocations: 0 / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.1283, allocations: 4 kB / 0.5619 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1283, allocations: 0 / 0.5619 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1283, allocations: 8 kB / 0.5619 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1283, allocations: 0 / 0.5619 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1283, allocations: 3.938 kB / 0.5619 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.1285, allocations: 112.9 kB / 0.562 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.1285, allocations: 85.05 kB / 0.5621 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1286, allocations: 11.94 kB / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.1286, allocations: 0 / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1286, allocations: 4 kB / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1287, allocations: 4 kB / 0.5621 GB, free: 15.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1288, allocations: 148.2 kB / 0.5623 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1288, allocations: 0 / 0.5623 GB, free: 14.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.129, allocations: 15.98 kB / 0.5623 GB, free: 14.85 MB / 430.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.001866/0.1309, allocations: 0.9539 MB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.131, allocations: 35.98 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.131, allocations: 0 / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.1311, allocations: 15.94 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1314, allocations: 30.69 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.1332, allocations: 1.506 MB / 0.5648 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1335, allocations: 0.7041 MB / 0.5655 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.1336, allocations: 16.53 kB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.1336, allocations: 31.42 kB / 0.5655 GB, free: 11.56 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1336, allocations: 3.938 kB / 0.5655 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.1513, allocations: 3.208 MB / 0.5686 GB, free: 8.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.153, allocations: 3.938 kB / 0.5686 GB, free: 8.414 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.104378917953] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.328426341002341 8.343496396 8.216053677 Calling exit ...