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.001442/0.001442, allocations: 116.9 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.002149/0.002149, allocations: 212.7 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.452/1.452, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2247/0.2247, allocations: 46.91 MB / 357.7 MB, free: 10.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 75.88 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 66.04 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003259/0.1314, allocations: 1.875 MB / 0.558 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1327, allocations: 0.7164 MB / 0.5587 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.1328, allocations: 0 / 0.5587 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.1332, allocations: 175.4 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.1336, allocations: 175.3 kB / 0.559 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.1343, allocations: 327.7 kB / 0.5593 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.1346, allocations: 235.4 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1347, allocations: 53.62 kB / 0.5596 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1348, allocations: 95.67 kB / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.135, allocations: 163.5 kB / 0.5599 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.1351, allocations: 12 kB / 0.5599 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.532e-05/0.1352, allocations: 43.98 kB / 0.5599 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1353, allocations: 115.6 kB / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.1354, allocations: 127 kB / 0.5601 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.1358, allocations: 302.5 kB / 0.5604 GB, free: 1.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1358, allocations: 4 kB / 0.5604 GB, free: 1.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1358, allocations: 0 / 0.5604 GB, free: 1.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1358, allocations: 0 / 0.5604 GB, free: 1.109 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.001024/0.1368, allocations: 0.6921 MB / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1369, allocations: 8.031 kB / 0.5611 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.1369, allocations: 4.188 kB / 0.5611 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1369, allocations: 38.73 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.137, allocations: 40.7 kB / 0.5612 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.1374, allocations: 370.5 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1375, allocations: 12.36 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.1375, allocations: 12.38 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.1379, allocations: 191.3 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.138, allocations: 0 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.138, allocations: 4 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.138, allocations: 0 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.1385, allocations: 155.8 kB / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1396, allocations: 0.6605 MB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.14, allocations: 145.2 kB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.1402, allocations: 73.78 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1403, allocations: 8 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1403, allocations: 42.48 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1403, allocations: 0 / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002789/0.1431, allocations: 0.8002 MB / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.1432, allocations: 81.11 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/0.1439, allocations: 0.6033 MB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1439, allocations: 25.7 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1441, allocations: 200.5 kB / 0.5645 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.1441, allocations: 71.62 kB / 0.5646 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.1442, allocations: 29.72 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1444, allocations: 358.7 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.1449, allocations: 135.9 kB / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.1454, allocations: 161.5 kB / 0.5652 GB, free: 11.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/0.1463, allocations: 289.5 kB / 0.5655 GB, free: 11.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1463, allocations: 0 / 0.5655 GB, free: 11.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001145/0.1475, allocations: 377 kB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1475, allocations: 8 kB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1475, allocations: 0 / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1475, allocations: 0 / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.1479, allocations: 67.86 kB / 0.5659 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1479, allocations: 4 kB / 0.5659 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.1481, allocations: 39.95 kB / 0.566 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1481, allocations: 4 kB / 0.566 GB, free: 11.17 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.0002044/0.1483, allocations: 189.7 kB / 0.5661 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.96e-05/0.1484, allocations: 39.7 kB / 0.5662 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.1497, allocations: 428.6 kB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1497, allocations: 4 kB / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1497, allocations: 0 / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1497, allocations: 4 kB / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1515, allocations: 0.9119 MB / 0.5675 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1515, allocations: 0 / 0.5675 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.1518, allocations: 59.94 kB / 0.5675 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1518, allocations: 7.984 kB / 0.5675 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1518, allocations: 8 kB / 0.5676 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1519, allocations: 0 / 0.5676 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1519, allocations: 11.94 kB / 0.5676 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.153, allocations: 0.5272 MB / 0.5681 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.1532, allocations: 128.8 kB / 0.5682 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.1532, allocations: 11.92 kB / 0.5682 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.1535, allocations: 31.95 kB / 0.5682 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.1536, allocations: 27.91 kB / 0.5683 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1536, allocations: 12 kB / 0.5683 GB, free: 8.684 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005117/0.1541, allocations: 447.1 kB / 0.5687 GB, free: 8.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1541, allocations: 288 / 0.5687 GB, free: 8.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00035/0.1545, allocations: 51.94 kB / 0.5688 GB, free: 8.199 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.002942/0.1574, allocations: 1.373 MB / 0.5701 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.1585, allocations: 303.6 kB / 0.5704 GB, free: 6.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1585, allocations: 0 / 0.5704 GB, free: 6.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.159, allocations: 155.8 kB / 0.5705 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.1596, allocations: 60.05 kB / 0.5706 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006861/0.1664, allocations: 4.329 MB / 0.5748 GB, free: 2.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.1669, allocations: 0.8104 MB / 0.5756 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.1671, allocations: 78.22 kB / 0.5757 GB, free: 1.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.1673, allocations: 119.4 kB / 0.5758 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1673, allocations: 384 / 0.5758 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1931, allocations: 7.999 MB / 0.5836 GB, free: 9.086 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.719, allocations: 11.98 kB / 0.5836 GB, free: 9.074 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 -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --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 os._exit(0), Time elapsed: 11.939718758978415] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 8.901171948993579 9.17816475 9.03983084 Calling exit ...