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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001729/0.001729, allocations: 216.8 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 230.2 MB / 256.1 MB, free: 8.766 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2024/0.2024, allocations: 46.89 MB / 359.3 MB, free: 4.984 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002138/0.002138, allocations: 91.84 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2639, allocations: 65.98 MB / 0.5584 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002983/0.2669, allocations: 1.882 MB / 0.5603 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2681, allocations: 0.7258 MB / 0.561 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.2681, allocations: 4 kB / 0.561 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.2686, allocations: 175.4 kB / 0.5611 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.2689, allocations: 167.4 kB / 0.5613 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.2696, allocations: 337.4 kB / 0.5616 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.2699, allocations: 239.4 kB / 0.5618 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.27, allocations: 43.48 kB / 0.5619 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2702, allocations: 95.66 kB / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.2704, allocations: 167.5 kB / 0.5621 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.2704, allocations: 12 kB / 0.5622 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.2705, allocations: 39.97 kB / 0.5622 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2706, allocations: 107.7 kB / 0.5623 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.2707, allocations: 131 kB / 0.5624 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.2711, allocations: 310.4 kB / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2711, allocations: 0 / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2711, allocations: 0 / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2711, allocations: 0 / 0.5627 GB, free: 0.8203 MB / 398.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.0009708/0.2721, allocations: 0.6921 MB / 0.5634 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2721, allocations: 8.031 kB / 0.5634 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.2722, allocations: 42.75 kB / 0.5634 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.58e-05/0.2723, allocations: 47.7 kB / 0.5635 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.2727, allocations: 366.6 kB / 0.5638 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2727, allocations: 8.375 kB / 0.5638 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.2727, allocations: 13.27 kB / 0.5639 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.2731, allocations: 178.5 kB / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2732, allocations: 0 / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.2732, allocations: 11.88 kB / 0.564 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2732, allocations: 4 kB / 0.564 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.2737, allocations: 151.8 kB / 0.5642 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.2746, allocations: 0.6566 MB / 0.5648 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.275, allocations: 153.1 kB / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.2752, allocations: 73.78 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.2753, allocations: 0 / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2753, allocations: 42.5 kB / 0.5651 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.2753, allocations: 0 / 0.5651 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002555/0.2779, allocations: 0.8002 MB / 0.5659 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.2779, allocations: 77.11 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.2786, allocations: 0.6034 MB / 0.5665 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.2786, allocations: 25.7 kB / 0.5666 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.2788, allocations: 212.4 kB / 0.5668 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.2788, allocations: 51.55 kB / 0.5668 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.2789, allocations: 37.7 kB / 0.5668 GB, free: 12.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2791, allocations: 350.8 kB / 0.5672 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.2795, allocations: 139.9 kB / 0.5673 GB, free: 11.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.28, allocations: 149.6 kB / 0.5675 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.2809, allocations: 301.4 kB / 0.5677 GB, free: 11.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2809, allocations: 0 / 0.5677 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001018/0.2819, allocations: 365.1 kB / 0.5681 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2819, allocations: 12.12 kB / 0.5681 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2819, allocations: 4 kB / 0.5681 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2819, allocations: 4.156 kB / 0.5681 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.2822, allocations: 67.88 kB / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2822, allocations: 3.938 kB / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.2825, allocations: 52.62 kB / 0.5682 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.2825, allocations: 4 kB / 0.5682 GB, free: 10.89 MB / 414.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.0001764/0.2827, allocations: 181.8 kB / 0.5684 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.2828, allocations: 47.59 kB / 0.5684 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.2839, allocations: 416.8 kB / 0.5688 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2839, allocations: 0 / 0.5688 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2839, allocations: 4 kB / 0.5688 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2839, allocations: 3.984 kB / 0.5689 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.2855, allocations: 0.9191 MB / 0.5697 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2855, allocations: 0 / 0.5697 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.2858, allocations: 63.94 kB / 0.5698 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2858, allocations: 0 / 0.5698 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2858, allocations: 4 kB / 0.5698 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2858, allocations: 80 / 0.5698 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2858, allocations: 7.969 kB / 0.5698 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.2869, allocations: 0.5438 MB / 0.5704 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.287, allocations: 124.9 kB / 0.5705 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.287, allocations: 4 kB / 0.5705 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.2873, allocations: 39.94 kB / 0.5705 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.2874, allocations: 15.98 kB / 0.5705 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2874, allocations: 7.984 kB / 0.5705 GB, free: 8.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004547/0.2878, allocations: 455.1 kB / 0.571 GB, free: 7.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2878, allocations: 0 / 0.571 GB, free: 7.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.2882, allocations: 59.88 kB / 0.571 GB, free: 7.922 MB / 414.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.002618/0.2908, allocations: 1.372 MB / 0.5724 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009934/0.2918, allocations: 307.6 kB / 0.5727 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2918, allocations: 0 / 0.5727 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.2923, allocations: 159.7 kB / 0.5728 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.2927, allocations: 56.19 kB / 0.5729 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006131/0.2989, allocations: 4.322 MB / 0.5771 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2993, allocations: 0.8143 MB / 0.5779 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.2994, allocations: 78.52 kB / 0.578 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2996, allocations: 119.4 kB / 0.5781 GB, free: 0.707 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2996, allocations: 0 / 0.5781 GB, free: 0.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.3281, allocations: 7.925 MB / 0.5858 GB, free: 8.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/7.801, allocations: 15.06 kB / 0.5858 GB, free: 8.805 MB / 430.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.31844412900682]