Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.001279/0.001279, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001334/0.001334, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.551/1.551, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2251/0.2251, allocations: 46.91 MB / 357.4 MB, free: 10.57 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.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 83.88 kB / 0.4913 GB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 65.98 MB / 0.5557 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003383/0.1303, allocations: 1.89 MB / 0.5575 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1317, allocations: 0.7204 MB / 0.5582 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.1317, allocations: 0 / 0.5582 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.1322, allocations: 171.4 kB / 0.5584 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.1326, allocations: 167.4 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.1335, allocations: 338.6 kB / 0.5589 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.1338, allocations: 227.5 kB / 0.5591 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1339, allocations: 53.64 kB / 0.5592 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1341, allocations: 95.66 kB / 0.5592 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.1343, allocations: 163.5 kB / 0.5594 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1343, allocations: 12 kB / 0.5594 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1344, allocations: 43.97 kB / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1346, allocations: 111.7 kB / 0.5596 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1347, allocations: 127 kB / 0.5597 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.1351, allocations: 306.4 kB / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1351, allocations: 0 / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1351, allocations: 0 / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1351, allocations: 0 / 0.56 GB, free: 1.988 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001111/0.1363, allocations: 0.6883 MB / 0.5606 GB, free: 1.246 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1363, allocations: 8.031 kB / 0.5607 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.1364, allocations: 46.73 kB / 0.5607 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/0.1364, allocations: 40.7 kB / 0.5607 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.137, allocations: 374.5 kB / 0.5611 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.137, allocations: 8.375 kB / 0.5611 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.137, allocations: 8.375 kB / 0.5611 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.1374, allocations: 171.8 kB / 0.5613 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.1374, allocations: 7.922 kB / 0.5613 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1375, allocations: 4 kB / 0.5613 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1375, allocations: 4 kB / 0.5613 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.138, allocations: 147.8 kB / 0.5614 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.1391, allocations: 0.6527 MB / 0.5621 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.1395, allocations: 161.1 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.1397, allocations: 77.78 kB / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.1397, allocations: 7.984 kB / 0.5623 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1398, allocations: 38.5 kB / 0.5623 GB, free: 15.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 3.456e-06/0.1398, allocations: 3.984 kB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002695/0.1425, allocations: 0.8002 MB / 0.5631 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.1425, allocations: 77.11 kB / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.1433, allocations: 0.6034 MB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1433, allocations: 29.7 kB / 0.5638 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1435, allocations: 204.4 kB / 0.564 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/0.1436, allocations: 67.42 kB / 0.5641 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.1436, allocations: 29.72 kB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1438, allocations: 354.8 kB / 0.5644 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.1443, allocations: 131.9 kB / 0.5646 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.1447, allocations: 155.4 kB / 0.5647 GB, free: 12.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.1456, allocations: 305.4 kB / 0.565 GB, free: 12.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1456, allocations: 0 / 0.565 GB, free: 12.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001065/0.1467, allocations: 369.1 kB / 0.5654 GB, free: 12.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1467, allocations: 8 kB / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1467, allocations: 304 / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1467, allocations: 0 / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.1471, allocations: 75.8 kB / 0.5654 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.1471, allocations: 3.984 kB / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.1474, allocations: 43.95 kB / 0.5655 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1474, allocations: 4 kB / 0.5655 GB, free: 12.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002488/0.1476, allocations: 185.8 kB / 0.5657 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.1477, allocations: 43.64 kB / 0.5657 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.1489, allocations: 428.6 kB / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1489, allocations: 0 / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1489, allocations: 4 kB / 0.5661 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1489, allocations: 4 kB / 0.5661 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.1507, allocations: 0.9119 MB / 0.567 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1507, allocations: 0 / 0.567 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.151, allocations: 67.92 kB / 0.5671 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.151, allocations: 0 / 0.5671 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.151, allocations: 4 kB / 0.5671 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.151, allocations: 4 kB / 0.5671 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.151, allocations: 4 kB / 0.5671 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1522, allocations: 0.5351 MB / 0.5676 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.1523, allocations: 132.8 kB / 0.5677 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.1524, allocations: 4 kB / 0.5677 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.1527, allocations: 35.95 kB / 0.5678 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.355e-05/0.1528, allocations: 23.97 kB / 0.5678 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1528, allocations: 7.938 kB / 0.5678 GB, free: 9.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.1533, allocations: 451.1 kB / 0.5682 GB, free: 9.133 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1533, allocations: 0 / 0.5682 GB, free: 9.133 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.1536, allocations: 55.98 kB / 0.5683 GB, free: 9.078 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.002803/0.1564, allocations: 1.367 MB / 0.5696 GB, free: 7.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.1575, allocations: 307.6 kB / 0.5699 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1575, allocations: 0 / 0.5699 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.158, allocations: 159.7 kB / 0.5701 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.1585, allocations: 68.06 kB / 0.5701 GB, free: 7.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.1652, allocations: 4.322 MB / 0.5744 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.1657, allocations: 0.8104 MB / 0.5752 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.1659, allocations: 74.55 kB / 0.5752 GB, free: 1.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.166, allocations: 119.4 kB / 0.5753 GB, free: 1.875 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.166, allocations: 0 / 0.5753 GB, free: 1.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.1981, allocations: 7.953 MB / 0.5831 GB, free: 10 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/8.912, allocations: 4.062 kB / 0.5831 GB, free: 9.996 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.079794663004577] Failed to read output from testmodel.py, exit status != 0: 9.036439329851419 9.280003622 9.141757135 Calling exit ...