Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001673/0.001673, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002071/0.002071, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2184/0.2184, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002369/0.002369, allocations: 80.64 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1166, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004453/0.1211, allocations: 1.876 MB / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1227, allocations: 0.7092 MB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.1228, allocations: 3.938 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.1233, allocations: 163.5 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.1238, allocations: 179.3 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.1245, allocations: 335.6 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.1249, allocations: 235.4 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.125, allocations: 61.66 kB / 483.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1252, allocations: 95.67 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.1254, allocations: 139.5 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.1255, allocations: 12 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1256, allocations: 47.98 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.1258, allocations: 111.6 kB / 484.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.126, allocations: 131 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.1264, allocations: 291.2 kB / 484.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1264, allocations: 4 kB / 484.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1264, allocations: 4 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1264, allocations: 0 / 484.6 MB, free: 0.75 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.001062/0.1275, allocations: 0.669 MB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1275, allocations: 12.03 kB / 485.3 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.1276, allocations: 42.69 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.1277, allocations: 36.47 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.1282, allocations: 382 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1282, allocations: 8.375 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1282, allocations: 8.375 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.1287, allocations: 183 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1287, allocations: 0 / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1287, allocations: 8 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1288, allocations: 0 / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.1293, allocations: 151.8 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1305, allocations: 0.645 MB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.131, allocations: 157.1 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.1312, allocations: 81.77 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.1313, allocations: 3.984 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.1313, allocations: 38.56 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 5.08e-06/0.1313, allocations: 4 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002799/0.1342, allocations: 0.7914 MB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.1342, allocations: 81.11 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.135, allocations: 0.5995 MB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.135, allocations: 25.7 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1352, allocations: 208.3 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.1352, allocations: 55.19 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.1353, allocations: 45.61 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1355, allocations: 354.8 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.136, allocations: 131.9 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.1365, allocations: 156.2 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.1374, allocations: 297.4 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1374, allocations: 3.938 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001092/0.1385, allocations: 368.9 kB / 490.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1386, allocations: 4 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1386, allocations: 4 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1386, allocations: 0 / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.139, allocations: 67.88 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.139, allocations: 0 / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.1392, allocations: 39.94 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1393, allocations: 8 kB / 490.2 MB, free: 10.87 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.0002264/0.1395, allocations: 189.7 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.1396, allocations: 35.53 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.1409, allocations: 428.6 kB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1409, allocations: 0 / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1409, allocations: 4 kB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1409, allocations: 3.984 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.1428, allocations: 0.9113 MB / 491.7 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1428, allocations: 0 / 491.7 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.1431, allocations: 63.94 kB / 491.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1431, allocations: 0 / 491.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1432, allocations: 4 kB / 491.8 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1432, allocations: 0 / 491.8 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1432, allocations: 3.938 kB / 491.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.1444, allocations: 0.537 MB / 492.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1446, allocations: 128.6 kB / 492.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.1446, allocations: 4.844 kB / 492.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.1449, allocations: 39.94 kB / 492.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.145, allocations: 19.92 kB / 492.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1451, allocations: 15.94 kB / 492.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005699/0.1456, allocations: 455 kB / 493 MB, free: 7.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1456, allocations: 0 / 493 MB, free: 7.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.146, allocations: 55.91 kB / 493 MB, free: 7.887 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.003011/0.1491, allocations: 1.36 MB / 494.4 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.1502, allocations: 331.6 kB / 494.7 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1502, allocations: 0 / 494.7 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.1507, allocations: 159.8 kB / 494.9 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.1513, allocations: 60.78 kB / 494.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.1587, allocations: 4.368 MB / 499.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.1592, allocations: 0.8145 MB / 0.4884 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.1594, allocations: 78.55 kB / 0.4885 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.1597, allocations: 128.8 kB / 0.4886 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1597, allocations: 3.938 kB / 0.4886 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03408/0.1937, allocations: 7.767 MB / 0.4962 GB, free: 8.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.235, allocations: 17.83 kB / 0.4962 GB, free: 8.945 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)