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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 82.02 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1338, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004968/0.1388, allocations: 1.869 MB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1403, allocations: 0.7131 MB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1405, allocations: 4 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.141, allocations: 163.5 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005399/0.1416, allocations: 175.3 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.1425, allocations: 337.2 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.1429, allocations: 231.4 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.1432, allocations: 65.64 kB / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1434, allocations: 99.61 kB / 483.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1436, allocations: 143.5 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.1436, allocations: 12 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1438, allocations: 51.97 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1439, allocations: 107.7 kB / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.144, allocations: 135 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1444, allocations: 291.2 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1444, allocations: 0 / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1444, allocations: 4 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1444, allocations: 0 / 484.5 MB, free: 0.8164 MB / 350.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.001057/0.1455, allocations: 0.6689 MB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1455, allocations: 12.03 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.1456, allocations: 38.75 kB / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.1457, allocations: 40.47 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.1462, allocations: 374.1 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1462, allocations: 12.31 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1462, allocations: 8.375 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.1467, allocations: 175.1 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1467, allocations: 4 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1467, allocations: 8 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1468, allocations: 4 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.1473, allocations: 147.8 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1484, allocations: 0.6566 MB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.1488, allocations: 153.2 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.1491, allocations: 77.78 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.1491, allocations: 3.938 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1492, allocations: 42.56 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.684e-06/0.1492, allocations: 0 / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002833/0.152, allocations: 0.7874 MB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1521, allocations: 81.11 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.1527, allocations: 0.5995 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1528, allocations: 25.7 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1529, allocations: 208.3 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.153, allocations: 55.2 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.1531, allocations: 41.61 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1532, allocations: 354.8 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.1537, allocations: 131.9 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.1542, allocations: 157.5 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009076/0.1551, allocations: 297.5 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1551, allocations: 3.938 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001055/0.1562, allocations: 368.9 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1562, allocations: 4 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1562, allocations: 8 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1562, allocations: 3.938 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.1566, allocations: 59.94 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1566, allocations: 4.141 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.1568, allocations: 39.94 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1569, allocations: 15.98 kB / 490.1 MB, free: 10.93 MB / 366.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.0001859/0.157, allocations: 189.7 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.1571, allocations: 35.53 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.1583, allocations: 420.5 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1583, allocations: 0 / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1583, allocations: 4.75 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1583, allocations: 3.984 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.16, allocations: 0.9154 MB / 491.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.16, allocations: 96 / 491.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.1603, allocations: 71.88 kB / 491.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1604, allocations: 0 / 491.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1604, allocations: 7.938 kB / 491.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1604, allocations: 0 / 491.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.1604, allocations: 11.92 kB / 491.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1615, allocations: 0.5254 MB / 492.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1616, allocations: 124.6 kB / 492.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1617, allocations: 4 kB / 492.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.162, allocations: 39.94 kB / 492.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.1621, allocations: 23.92 kB / 492.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1621, allocations: 11.98 kB / 492.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004443/0.1625, allocations: 447.1 kB / 492.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.075e-06/0.1625, allocations: 0 / 492.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.1629, allocations: 59.84 kB / 493 MB, free: 7.953 MB / 366.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.002225/0.1651, allocations: 1.363 MB / 494.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.1662, allocations: 326.3 kB / 494.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1662, allocations: 0 / 494.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.1667, allocations: 163.8 kB / 494.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.1673, allocations: 66.34 kB / 494.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.1738, allocations: 4.364 MB / 499.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.1743, allocations: 0.818 MB / 0.4883 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.1745, allocations: 78.53 kB / 0.4884 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.1747, allocations: 119.4 kB / 0.4885 GB, free: 0.668 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1747, allocations: 0 / 0.4885 GB, free: 0.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.2028, allocations: 7.757 MB / 0.4961 GB, free: 9.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.588, allocations: 9.062 kB / 0.4961 GB, free: 9.012 MB / 382.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)