Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.000794/0.0007941, allocations: 100.8 kB / 17.01 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008892/0.0008892, allocations: 194.4 kB / 17.91 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 45.9 MB / 344.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002527, allocations: 11.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002637/0.134, allocations: 1.657 MB / 483.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1355, allocations: 0.7565 MB / 484.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.1357, allocations: 0 / 484.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.1362, allocations: 163.6 kB / 484.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.1367, allocations: 187.3 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.1376, allocations: 381.1 kB / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.138, allocations: 255.2 kB / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1382, allocations: 52.88 kB / 485.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1384, allocations: 103.5 kB / 485.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1386, allocations: 135.4 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.1386, allocations: 8 kB / 485.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1387, allocations: 35.92 kB / 485.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.1389, allocations: 159.5 kB / 485.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.139, allocations: 89.39 kB / 485.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1393, allocations: 311.7 kB / 485.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1393, allocations: 0 / 485.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1393, allocations: 0 / 485.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.1394, allocations: 0 / 485.9 MB, free: 1.016 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.00126/0.1406, allocations: 0.8125 MB / 486.7 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1407, allocations: 12.03 kB / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.1407, allocations: 42.56 kB / 486.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1408, allocations: 63.25 kB / 486.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006469/0.1415, allocations: 0.4996 MB / 487.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1415, allocations: 8 kB / 487.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.1416, allocations: 8 kB / 487.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.142, allocations: 171.2 kB / 487.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.142, allocations: 4 kB / 487.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.142, allocations: 7.938 kB / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.142, allocations: 4 kB / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.1425, allocations: 171.8 kB / 487.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1436, allocations: 0.7541 MB / 488.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.1439, allocations: 161.1 kB / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.1442, allocations: 93.73 kB / 488.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.1442, allocations: 4 kB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1443, allocations: 30.56 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1443, allocations: 0 / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002638/0.1469, allocations: 0.9541 MB / 489.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.147, allocations: 81.11 kB / 489.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.1482, allocations: 1.074 MB / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1482, allocations: 33.64 kB / 490.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.1485, allocations: 292.2 kB / 491.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.1486, allocations: 63.09 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.1486, allocations: 4 kB / 491.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1487, allocations: 321.9 kB / 491.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.1491, allocations: 147.9 kB / 491.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.1495, allocations: 171.8 kB / 491.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.1499, allocations: 147.9 kB / 492 MB, free: 10.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.15, allocations: 0 / 492 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009714/0.1509, allocations: 416.6 kB / 492.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.151, allocations: 4 kB / 492.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.151, allocations: 4 kB / 492.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.151, allocations: 4 kB / 492.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1513, allocations: 79.88 kB / 492.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1513, allocations: 8.406 kB / 492.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1516, allocations: 51.94 kB / 492.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1516, allocations: 15.88 kB / 492.6 MB, free: 10.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.1518, allocations: 229.7 kB / 492.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.152, allocations: 67.16 kB / 492.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.153, allocations: 470.7 kB / 493.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.153, allocations: 0 / 493.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.153, allocations: 4.75 kB / 493.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.153, allocations: 0 / 493.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.1547, allocations: 1.013 MB / 494.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1548, allocations: 4 kB / 494.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.1551, allocations: 75.94 kB / 494.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1551, allocations: 4 kB / 494.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1551, allocations: 8 kB / 494.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1551, allocations: 4 kB / 494.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1551, allocations: 0 / 494.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.1561, allocations: 0.5877 MB / 495 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.1563, allocations: 172.2 kB / 495.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.1563, allocations: 0 / 495.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.1566, allocations: 55.95 kB / 495.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.1567, allocations: 19.97 kB / 495.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1568, allocations: 4 kB / 495.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009059/0.1577, allocations: 0.7918 MB / 496 MB, free: 6.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1577, allocations: 0 / 496 MB, free: 6.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000406/0.1581, allocations: 71.95 kB / 496.1 MB, free: 6.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002133/0.1602, allocations: 1.437 MB / 497.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.1611, allocations: 338.3 kB / 497.9 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1611, allocations: 0 / 497.9 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.1616, allocations: 187.8 kB / 498.1 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.1622, allocations: 78.08 kB / 498.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/0.1686, allocations: 3.95 MB / 0.4903 GB, free: 496 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.1692, allocations: 0.8896 MB / 0.4912 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.1695, allocations: 87.61 kB / 0.4913 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.1697, allocations: 183.4 kB / 0.4915 GB, free: 15.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.737e-06/0.1698, allocations: 0 / 0.4915 GB, free: 15.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.1984, allocations: 10.28 MB / 0.5015 GB, free: 5.172 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.1987, allocations: 232.7 kB / 0.5017 GB, free: 4.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.378, allocations: 4 kB / 0.5017 GB, free: 4.93 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)