Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001244/0.001244, allocations: 120.2 kB / 18.5 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.001374/0.001374, allocations: 222.2 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.462/1.462, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2225/0.2225, allocations: 46.92 MB / 357.7 MB, free: 10.27 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.88 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1308, allocations: 66.05 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003396/0.1342, allocations: 1.864 MB / 0.558 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.136, allocations: 1.051 MB / 0.559 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.136, allocations: 4 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1363, allocations: 63.7 kB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.1366, allocations: 123.3 kB / 0.5592 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.1371, allocations: 214.4 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.1374, allocations: 199.4 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1375, allocations: 17.55 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1377, allocations: 83.69 kB / 0.5597 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.1378, allocations: 111.6 kB / 0.5598 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1378, allocations: 16 kB / 0.5598 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.181e-05/0.1379, allocations: 47.92 kB / 0.5599 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.138, allocations: 43.83 kB / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.604e-05/0.1381, allocations: 71.58 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1384, allocations: 191.1 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1384, allocations: 3.938 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1384, allocations: 4 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1384, allocations: 0 / 0.5602 GB, free: 1.434 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.001171/0.1396, allocations: 0.5875 MB / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1396, allocations: 8.031 kB / 0.5607 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.378e-05/0.1396, allocations: 4.188 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.1397, allocations: 38.73 kB / 0.5608 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.1397, allocations: 16.84 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.14, allocations: 245.6 kB / 0.561 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.14, allocations: 12.38 kB / 0.561 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1401, allocations: 8.312 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.1406, allocations: 157.3 kB / 0.5612 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1406, allocations: 0 / 0.5612 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1406, allocations: 0 / 0.5612 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1406, allocations: 0 / 0.5612 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.1414, allocations: 167.8 kB / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.1423, allocations: 440.5 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008361/0.1431, allocations: 194.3 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.1435, allocations: 88.77 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1435, allocations: 0 / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005916/0.1441, allocations: 175.2 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1441, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.003922/0.1481, allocations: 0.84 MB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1481, allocations: 55.41 kB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.1484, allocations: 264.9 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1484, allocations: 29.7 kB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.1485, allocations: 128.1 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.1486, allocations: 39.83 kB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.1487, allocations: 37.7 kB / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1488, allocations: 330.8 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007926/0.1496, allocations: 167.8 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/0.1504, allocations: 175.8 kB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.1518, allocations: 385.6 kB / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1518, allocations: 3.938 kB / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001662/0.1535, allocations: 470.5 kB / 0.565 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.1536, allocations: 64.06 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1536, allocations: 3.938 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1536, allocations: 4 kB / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.154, allocations: 67.91 kB / 0.5652 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.154, allocations: 3.938 kB / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.1544, allocations: 63.91 kB / 0.5652 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.1545, allocations: 11.94 kB / 0.5652 GB, free: 11.94 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.0001646/0.1546, allocations: 137.8 kB / 0.5654 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.1547, allocations: 15.91 kB / 0.5654 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.1563, allocations: 427.6 kB / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1563, allocations: 0 / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1563, allocations: 3.938 kB / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1563, allocations: 0 / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.1582, allocations: 0.727 MB / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1582, allocations: 0 / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.1586, allocations: 75.89 kB / 0.5666 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1586, allocations: 3.938 kB / 0.5666 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1587, allocations: 4 kB / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1587, allocations: 0 / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1587, allocations: 0 / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.1602, allocations: 487 kB / 0.5671 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.1603, allocations: 101 kB / 0.5672 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.1603, allocations: 7.938 kB / 0.5672 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.1608, allocations: 71.89 kB / 0.5672 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.1609, allocations: 39.95 kB / 0.5673 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.1609, allocations: 11.98 kB / 0.5673 GB, free: 9.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.1611, allocations: 188.5 kB / 0.5675 GB, free: 9.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1611, allocations: 0 / 0.5675 GB, free: 9.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1614, allocations: 47.92 kB / 0.5675 GB, free: 9.516 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.003273/0.1647, allocations: 1.316 MB / 0.5688 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.1664, allocations: 478.4 kB / 0.5692 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1664, allocations: 3.938 kB / 0.5693 GB, free: 7.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007892/0.1672, allocations: 183.8 kB / 0.5694 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1675, allocations: 36.58 kB / 0.5695 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/0.174, allocations: 2.904 MB / 0.5723 GB, free: 4.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1744, allocations: 0.7241 MB / 0.573 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.1746, allocations: 33.39 kB / 0.573 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1747, allocations: 55.42 kB / 0.5731 GB, free: 3.766 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1747, allocations: 0 / 0.5731 GB, free: 3.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.1964, allocations: 5.904 MB / 0.5789 GB, free: 13.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.403, allocations: 19.81 kB / 0.5789 GB, free: 13.91 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.376477644022088] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 8.581653108994942 8.597276965 8.455806813 Calling exit ...