Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001505/0.001505, 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.001595/0.001595, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2629/0.2629, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002336, allocations: 72.78 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1398, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004147/0.144, allocations: 2.016 MB / 482.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1456, allocations: 0.8027 MB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1457, allocations: 8 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005649/0.1463, allocations: 179.4 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.1469, allocations: 211.1 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009453/0.1478, allocations: 423.2 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.1482, allocations: 287.2 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.1484, allocations: 60.7 kB / 484.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1486, allocations: 123.5 kB / 484.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1488, allocations: 171.3 kB / 484.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.1488, allocations: 16 kB / 484.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.149, allocations: 44 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.1492, allocations: 167.5 kB / 484.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.1495, allocations: 190.4 kB / 484.9 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.15, allocations: 430.6 kB / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.15, allocations: 0 / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.15, allocations: 0 / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.15, allocations: 0 / 485.3 MB, free: 68 kB / 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.001388/0.1514, allocations: 0.8744 MB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1515, allocations: 12.03 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.1515, allocations: 38.73 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1517, allocations: 60.19 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/0.1524, allocations: 0.5198 MB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1524, allocations: 8.375 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.1525, allocations: 12.28 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.1529, allocations: 164.5 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1529, allocations: 3.938 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.153, allocations: 8 kB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.153, allocations: 0 / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.1535, allocations: 135.9 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1547, allocations: 0.7463 MB / 487.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.1551, allocations: 137.1 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.1554, allocations: 77.78 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1554, allocations: 4 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1555, allocations: 30.56 kB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1555, allocations: 0 / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002763/0.1582, allocations: 0.8215 MB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1583, allocations: 85.09 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.1597, allocations: 1.075 MB / 490.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1597, allocations: 29.7 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.16, allocations: 296.2 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.16, allocations: 59.09 kB / 490.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.1601, allocations: 33.7 kB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1603, allocations: 318 kB / 490.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/0.1607, allocations: 115.9 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.1612, allocations: 140.1 kB / 491.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008562/0.1621, allocations: 257.5 kB / 491.3 MB, free: 9.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1621, allocations: 7.875 kB / 491.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001038/0.1631, allocations: 348.6 kB / 491.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1632, allocations: 4 kB / 491.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1632, allocations: 0 / 491.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1632, allocations: 4 kB / 491.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.1636, allocations: 67.88 kB / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1636, allocations: 0 / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1638, allocations: 47.94 kB / 491.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1639, allocations: 4 kB / 491.8 MB, free: 9.297 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.0002753/0.1642, allocations: 225.7 kB / 492 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.1643, allocations: 63.38 kB / 492.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.1655, allocations: 410.7 kB / 492.5 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.1655, allocations: 8 kB / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1655, allocations: 0 / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1656, allocations: 0 / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.1675, allocations: 0.9502 MB / 493.4 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1675, allocations: 7.938 kB / 493.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.1678, allocations: 63.94 kB / 493.5 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.1678, allocations: 4 kB / 493.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1678, allocations: 0 / 493.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1678, allocations: 4 kB / 493.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1678, allocations: 3.938 kB / 493.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.169, allocations: 0.5175 MB / 494 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.1692, allocations: 164.3 kB / 494.2 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.1692, allocations: 0 / 494.2 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.1695, allocations: 47.88 kB / 494.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.1696, allocations: 20.3 kB / 494.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1697, allocations: 15.98 kB / 494.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009722/0.1706, allocations: 0.7841 MB / 495 MB, free: 5.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1706, allocations: 0 / 495 MB, free: 5.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.171, allocations: 64 kB / 495.1 MB, free: 5.855 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.002919/0.174, allocations: 1.368 MB / 496.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.175, allocations: 283.6 kB / 496.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.175, allocations: 0 / 496.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004943/0.1755, allocations: 148 kB / 496.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.1764, allocations: 100 kB / 497 MB, free: 4.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00979/0.1862, allocations: 6.297 MB / 0.4915 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.1868, allocations: 0.9048 MB / 0.4924 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.187, allocations: 87.31 kB / 0.4925 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.1873, allocations: 191.4 kB / 0.4926 GB, free: 12.49 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1873, allocations: 4 kB / 0.4926 GB, free: 12.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4084/0.5957, allocations: 11.31 MB / 0.5037 GB, free: 1.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.778, allocations: 14.86 kB / 0.5037 GB, free: 1.289 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)