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.001373/0.001373, 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.001488/0.001488, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1821/0.1821, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 77.59 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1127, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003079/0.1158, allocations: 2.024 MB / 482.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1171, allocations: 0.7988 MB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1173, allocations: 4 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.1177, allocations: 179.4 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005495/0.1183, allocations: 215.1 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000886/0.1192, allocations: 413.7 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.1196, allocations: 295.2 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1197, allocations: 60.69 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1199, allocations: 123.5 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1201, allocations: 171.3 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1201, allocations: 16 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1202, allocations: 47.98 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1204, allocations: 159.5 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.1205, allocations: 198.4 kB / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1209, allocations: 426.6 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1209, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.121, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.121, allocations: 0 / 485.2 MB, free: 104 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.001169/0.1222, allocations: 0.8667 MB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1222, allocations: 12.03 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1222, allocations: 42.73 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.975e-05/0.1223, allocations: 60.19 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.1229, allocations: 0.5159 MB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1229, allocations: 8.375 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.123, allocations: 16.28 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1234, allocations: 159.1 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1234, allocations: 3.938 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1234, allocations: 4 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1234, allocations: 4 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.1239, allocations: 135.8 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000973/0.1249, allocations: 0.7502 MB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.1252, allocations: 137.1 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.1255, allocations: 73.78 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.1255, allocations: 11.98 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1256, allocations: 38.56 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.1256, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002624/0.1282, allocations: 0.8211 MB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.1283, allocations: 81.11 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.1295, allocations: 1.075 MB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.1296, allocations: 25.7 kB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.1298, allocations: 292.2 kB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.1299, allocations: 63.09 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.13, allocations: 33.72 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1302, allocations: 314 kB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.1306, allocations: 119.9 kB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.131, allocations: 133.6 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/0.1319, allocations: 265.5 kB / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.1319, allocations: 7.938 kB / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001006/0.1329, allocations: 348.6 kB / 491.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1329, allocations: 4 kB / 491.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1329, allocations: 0 / 491.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.133, allocations: 7.984 kB / 491.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.1333, allocations: 63.88 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1333, allocations: 0 / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.1335, allocations: 47.94 kB / 491.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1336, allocations: 4 kB / 491.7 MB, free: 9.328 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.0002275/0.1338, allocations: 225.7 kB / 491.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1339, allocations: 63.16 kB / 492 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.135, allocations: 407.1 kB / 492.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.135, allocations: 7.938 kB / 492.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.135, allocations: 4 kB / 492.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.135, allocations: 3.984 kB / 492.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.1367, allocations: 0.9541 MB / 493.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1367, allocations: 0 / 493.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.137, allocations: 59.94 kB / 493.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.137, allocations: 8 kB / 493.4 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.137, allocations: 8.734 kB / 493.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.137, allocations: 4 kB / 493.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.137, allocations: 3.938 kB / 493.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009944/0.138, allocations: 0.5155 MB / 493.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1382, allocations: 156.3 kB / 494.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.1383, allocations: 15.98 kB / 494.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.1386, allocations: 39.95 kB / 494.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.1386, allocations: 23.91 kB / 494.2 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1387, allocations: 4 kB / 494.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007751/0.1394, allocations: 0.788 MB / 495 MB, free: 5.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1394, allocations: 0 / 495 MB, free: 5.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.1398, allocations: 71.98 kB / 495 MB, free: 5.879 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.001983/0.1418, allocations: 1.355 MB / 496.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.1427, allocations: 287.5 kB / 496.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1427, allocations: 0 / 496.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.1432, allocations: 147.8 kB / 496.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.1438, allocations: 94.8 kB / 496.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007675/0.1515, allocations: 6.309 MB / 0.4914 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1519, allocations: 0.8893 MB / 0.4923 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.1521, allocations: 91.3 kB / 0.4924 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.1523, allocations: 183.4 kB / 0.4926 GB, free: 12.53 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1523, allocations: 4 kB / 0.4926 GB, free: 12.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/1.285, allocations: 11.3 MB / 0.5036 GB, free: 1.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.59, allocations: 5.062 kB / 0.5036 GB, free: 1.32 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)