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.001238/0.001239, 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.001327/0.001328, 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.446/1.446, 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.2428/0.2428, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002271/0.002271, allocations: 86.61 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1113, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003352/0.1147, allocations: 1.872 MB / 482.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.116, allocations: 0.7131 MB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.305e-05/0.1161, allocations: 4 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.1165, allocations: 167.5 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.1169, allocations: 179.3 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.1176, allocations: 324.9 kB / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.1179, allocations: 235.4 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1181, allocations: 65.64 kB / 483.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1182, allocations: 91.67 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.1184, allocations: 143.5 kB / 484 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.1184, allocations: 12 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1186, allocations: 47.92 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1187, allocations: 111.7 kB / 484.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1188, allocations: 127 kB / 484.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1192, allocations: 299.2 kB / 484.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1192, allocations: 0 / 484.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1192, allocations: 3.938 kB / 484.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1192, allocations: 0 / 484.6 MB, free: 0.7695 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.001005/0.1202, allocations: 0.6728 MB / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1202, allocations: 8.031 kB / 485.3 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.1203, allocations: 38.8 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.1204, allocations: 44.47 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.1208, allocations: 378 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1209, allocations: 4.375 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.1209, allocations: 16.36 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.1214, allocations: 179 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1214, allocations: 0 / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1214, allocations: 8 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1214, allocations: 4 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.122, allocations: 143.8 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.123, allocations: 0.6528 MB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.1234, allocations: 161.1 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.1237, allocations: 73.78 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1237, allocations: 4 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1238, allocations: 42.5 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.532e-06/0.1238, allocations: 0 / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002794/0.1266, allocations: 0.7913 MB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1266, allocations: 81.11 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.1273, allocations: 0.5956 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1274, allocations: 25.7 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1275, allocations: 208.3 kB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.1276, allocations: 63.19 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.1277, allocations: 37.61 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1279, allocations: 354.8 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.1284, allocations: 131.9 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.1288, allocations: 157.6 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/0.1298, allocations: 297.4 kB / 489.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1298, allocations: 3.938 kB / 489.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001134/0.131, allocations: 364.9 kB / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.131, allocations: 8 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.131, allocations: 4 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.131, allocations: 0 / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.1314, allocations: 63.88 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1314, allocations: 4 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.1316, allocations: 39.94 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1316, allocations: 4 kB / 490.2 MB, free: 10.89 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.0001941/0.1319, allocations: 189.7 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.132, allocations: 35.53 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1332, allocations: 428.6 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1332, allocations: 4 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1332, allocations: 0 / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1332, allocations: 3.984 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.135, allocations: 0.9152 MB / 491.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.135, allocations: 0.75 kB / 491.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.1353, allocations: 59.94 kB / 491.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1353, allocations: 4 kB / 491.8 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1354, allocations: 4 kB / 491.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.1354, allocations: 8 kB / 491.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.1354, allocations: 11.92 kB / 491.8 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.1365, allocations: 0.5295 MB / 492.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1367, allocations: 128.6 kB / 492.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.1367, allocations: 4 kB / 492.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.137, allocations: 35.94 kB / 492.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.1371, allocations: 27.92 kB / 492.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1372, allocations: 11.98 kB / 492.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005159/0.1377, allocations: 443.1 kB / 493 MB, free: 7.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1377, allocations: 0 / 493 MB, free: 7.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.138, allocations: 55.91 kB / 493 MB, free: 7.91 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.002856/0.1409, allocations: 1.37 MB / 494.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.142, allocations: 329.8 kB / 494.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.142, allocations: 0 / 494.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.1426, allocations: 159.8 kB / 494.9 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.1432, allocations: 63.7 kB / 495 MB, free: 6.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/0.1502, allocations: 4.364 MB / 499.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.1507, allocations: 0.818 MB / 0.4884 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.1509, allocations: 78.53 kB / 0.4885 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.1512, allocations: 119.4 kB / 0.4886 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1512, allocations: 0 / 0.4886 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.1813, allocations: 7.767 MB / 0.4962 GB, free: 8.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.217, allocations: 27.09 kB / 0.4962 GB, free: 8.957 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)