Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001267/0.001267, allocations: 118.3 kB / 18.49 MB, free: 4.559 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.001277/0.001277, allocations: 214.3 kB / 21.46 MB, free: 1.605 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.378/1.378, allocations: 230.4 MB / 254.7 MB, free: 15.16 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.2169/0.2169, 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 87.86 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 66.05 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003605/0.1217, allocations: 1.864 MB / 0.558 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1234, allocations: 1.024 MB / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.1235, allocations: 0 / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1237, allocations: 67.66 kB / 0.5591 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.1241, allocations: 119.4 kB / 0.5592 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.1245, allocations: 162.6 kB / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.1249, allocations: 203.4 kB / 0.5595 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.125, allocations: 17.55 kB / 0.5595 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1251, allocations: 91.67 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1253, allocations: 107.6 kB / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1253, allocations: 12 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1254, allocations: 43.92 kB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.1255, allocations: 39.83 kB / 0.5598 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1256, allocations: 75.58 kB / 0.5599 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1259, allocations: 187.2 kB / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1259, allocations: 0 / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1259, allocations: 0 / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1259, allocations: 0 / 0.5601 GB, free: 1.512 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001188/0.1271, allocations: 0.5913 MB / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1272, allocations: 8.031 kB / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.1272, allocations: 4.188 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.1272, allocations: 34.73 kB / 0.5607 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.1273, allocations: 24.84 kB / 0.5607 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1276, allocations: 237.6 kB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1276, allocations: 8.359 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.1276, allocations: 8.375 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.1281, allocations: 145.4 kB / 0.5611 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1281, allocations: 0 / 0.5611 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1282, allocations: 3.938 kB / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1282, allocations: 8 kB / 0.5611 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007392/0.1289, allocations: 159.8 kB / 0.5613 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.1295, allocations: 380.6 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/0.1303, allocations: 190.3 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.1307, allocations: 88.77 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1307, allocations: 0 / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.1313, allocations: 163.2 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1313, allocations: 112 / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.003897/0.1352, allocations: 0.8205 MB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1352, allocations: 59.41 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.1355, allocations: 253.5 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.1356, allocations: 33.7 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.1356, allocations: 128 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.1357, allocations: 39.83 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.1358, allocations: 33.7 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1359, allocations: 334.8 kB / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.1367, allocations: 167.8 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.1374, allocations: 167.8 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.1388, allocations: 357.5 kB / 0.5644 GB, free: 12.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1388, allocations: 8 kB / 0.5644 GB, free: 12.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001642/0.1405, allocations: 468.4 kB / 0.5648 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.1405, allocations: 61.28 kB / 0.5649 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.1405, allocations: 3.984 kB / 0.5649 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1405, allocations: 0 / 0.5649 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.141, allocations: 72.47 kB / 0.5649 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.141, allocations: 3.938 kB / 0.5649 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.1414, allocations: 59.91 kB / 0.565 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1414, allocations: 8 kB / 0.565 GB, free: 12.17 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001458/0.1416, allocations: 141.8 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.1416, allocations: 19.86 kB / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.1432, allocations: 402.7 kB / 0.5655 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1432, allocations: 4 kB / 0.5656 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1432, allocations: 7.938 kB / 0.5656 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1432, allocations: 3.984 kB / 0.5656 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.1451, allocations: 0.7016 MB / 0.5662 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1451, allocations: 0 / 0.5662 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.1455, allocations: 71.89 kB / 0.5663 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1455, allocations: 3.938 kB / 0.5663 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.1455, allocations: 7.984 kB / 0.5663 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1455, allocations: 0 / 0.5663 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1455, allocations: 0 / 0.5663 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.147, allocations: 488.2 kB / 0.5668 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.1471, allocations: 101 kB / 0.5669 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.1471, allocations: 3.938 kB / 0.5669 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.1476, allocations: 67.89 kB / 0.567 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.1477, allocations: 43.95 kB / 0.567 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1477, allocations: 7.984 kB / 0.567 GB, free: 10.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1479, allocations: 184.5 kB / 0.5672 GB, free: 9.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1479, allocations: 0 / 0.5672 GB, free: 9.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1482, allocations: 51.92 kB / 0.5672 GB, free: 9.781 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003259/0.1515, allocations: 1.3 MB / 0.5685 GB, free: 8.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.1532, allocations: 462.4 kB / 0.5689 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1532, allocations: 4 kB / 0.5689 GB, free: 8.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007804/0.1539, allocations: 179.5 kB / 0.5691 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1543, allocations: 32.66 kB / 0.5692 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/0.1606, allocations: 2.849 MB / 0.5719 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1609, allocations: 0.7202 MB / 0.5726 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.1611, allocations: 25.41 kB / 0.5727 GB, free: 4.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1612, allocations: 59.41 kB / 0.5727 GB, free: 4.141 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1612, allocations: 0 / 0.5727 GB, free: 4.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.1838, allocations: 5.818 MB / 0.5784 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.23, allocations: 11.67 kB / 0.5784 GB, free: 14.38 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.051312209980097] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 8.404572395025752 8.418841761 8.29023005 Calling exit ...