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.000835/0.0008353, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 205.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.18 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002673, allocations: 8 kB / 419.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 63.56 MB / 483.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002462/0.1179, allocations: 1.587 MB / 484.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1193, allocations: 0.6861 MB / 485.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1194, allocations: 4 kB / 485.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.1199, allocations: 167.6 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.1203, allocations: 155.5 kB / 485.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.121, allocations: 302.2 kB / 486.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.1214, allocations: 227.4 kB / 486.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1215, allocations: 53.64 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1217, allocations: 83.62 kB / 486.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1219, allocations: 131.6 kB / 486.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1219, allocations: 8 kB / 486.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.122, allocations: 27.98 kB / 486.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1221, allocations: 107.6 kB / 486.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1222, allocations: 136.7 kB / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.1226, allocations: 287.1 kB / 487.1 MB, free: 164 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1226, allocations: 0 / 487.1 MB, free: 164 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1226, allocations: 0 / 487.1 MB, free: 164 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1226, allocations: 0 / 487.1 MB, free: 164 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.001032/0.1237, allocations: 0.6421 MB / 487.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1237, allocations: 8.875 kB / 487.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/0.1238, allocations: 46.73 kB / 487.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.1239, allocations: 40.38 kB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.1244, allocations: 374.1 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1244, allocations: 8.375 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1245, allocations: 12.28 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.125, allocations: 191.1 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.125, allocations: 0 / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.125, allocations: 8 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.125, allocations: 3.984 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005849/0.1256, allocations: 191.8 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.1268, allocations: 0.6645 MB / 489.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.1272, allocations: 169.1 kB / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.1275, allocations: 101.8 kB / 489.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.1275, allocations: 4 kB / 489.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1276, allocations: 30.56 kB / 489.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1276, allocations: 4 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002848/0.1304, allocations: 0.9325 MB / 490.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1305, allocations: 89.03 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.1312, allocations: 0.5917 MB / 491.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1312, allocations: 29.7 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1314, allocations: 212.4 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.1314, allocations: 59.2 kB / 491.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.1315, allocations: 21.66 kB / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1317, allocations: 350.8 kB / 491.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.1322, allocations: 171.9 kB / 492 MB, free: 10.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.1327, allocations: 185.6 kB / 492.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/0.1337, allocations: 361.4 kB / 492.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1337, allocations: 3.938 kB / 492.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001094/0.1348, allocations: 436.8 kB / 493 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1348, allocations: 8 kB / 493 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1348, allocations: 0 / 493 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1348, allocations: 0 / 493 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.1352, allocations: 88.11 kB / 493.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1352, allocations: 160 / 493.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1355, allocations: 59.89 kB / 493.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.1355, allocations: 11.98 kB / 493.1 MB, free: 9.84 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.0001723/0.1357, allocations: 189.7 kB / 493.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.1357, allocations: 39.53 kB / 493.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1369, allocations: 480.6 kB / 493.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1369, allocations: 0 / 493.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.137, allocations: 4 kB / 493.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.137, allocations: 0 / 493.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.1386, allocations: 0.9895 MB / 494.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1386, allocations: 0 / 494.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.1389, allocations: 83.86 kB / 494.9 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.139, allocations: 4 kB / 494.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.139, allocations: 4 kB / 494.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.139, allocations: 4 kB / 494.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.139, allocations: 3.938 kB / 494.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1401, allocations: 0.5956 MB / 495.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.1402, allocations: 132.6 kB / 495.7 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.1403, allocations: 0 / 495.7 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.1406, allocations: 55.95 kB / 495.7 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.1406, allocations: 23.91 kB / 495.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1407, allocations: 4 kB / 495.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004267/0.1411, allocations: 455 kB / 496.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1411, allocations: 0 / 496.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.1414, allocations: 52 kB / 496.2 MB, free: 6.645 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.002136/0.1436, allocations: 1.439 MB / 497.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1446, allocations: 371.7 kB / 498 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1447, allocations: 0 / 498 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.1452, allocations: 199.8 kB / 498.2 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.1457, allocations: 57.8 kB / 498.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.1519, allocations: 4.612 MB / 0.4911 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1523, allocations: 0.822 MB / 0.4919 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.1524, allocations: 74.53 kB / 0.492 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.1526, allocations: 119.4 kB / 0.4921 GB, free: 14.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1526, allocations: 0 / 0.4921 GB, free: 14.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.1689, allocations: 7.074 MB / 0.499 GB, free: 8.039 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.1691, allocations: 248.6 kB / 0.4992 GB, free: 7.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.159, allocations: 0 / 0.4992 GB, free: 7.785 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)