Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008403/0.0008404, allocations: 182.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8894/0.8894, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003002, allocations: 12 kB / 0.5082 GB, free: 4.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 82.31 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006255/0.1338, allocations: 323 kB / 0.5889 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1355, allocations: 1.452 MB / 0.5904 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.261e-05/0.1355, allocations: 0 / 0.5904 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.1355, allocations: 3.938 kB / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.805e-05/0.1355, allocations: 0 / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1359, allocations: 115.7 kB / 0.5905 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.1359, allocations: 27.97 kB / 0.5905 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.136, allocations: 0 / 0.5905 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.136, allocations: 19.92 kB / 0.5905 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.1361, allocations: 27.95 kB / 0.5905 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1361, allocations: 0 / 0.5905 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.1365, allocations: 311.4 kB / 0.5908 GB, free: 316 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1366, allocations: 11.98 kB / 0.5909 GB, free: 304 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.1366, allocations: 41.62 kB / 0.5909 GB, free: 256 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1368, allocations: 131.9 kB / 0.591 GB, free: 124 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1368, allocations: 0 / 0.591 GB, free: 124 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1368, allocations: 0 / 0.591 GB, free: 124 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1368, allocations: 0 / 0.591 GB, free: 124 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004695/0.1373, allocations: 355.7 kB / 0.5914 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1373, allocations: 16.02 kB / 0.5914 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004745/0.1378, allocations: 84.8 kB / 0.5915 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1379, allocations: 168.3 kB / 0.5916 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.138, allocations: 8.312 kB / 0.5916 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.138, allocations: 384 / 0.5916 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1382, allocations: 85.95 kB / 0.5917 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1382, allocations: 0 / 0.5917 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1383, allocations: 0 / 0.5917 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1383, allocations: 0 / 0.5917 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.1386, allocations: 79.92 kB / 0.5918 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1388, allocations: 165.7 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.1394, allocations: 142.5 kB / 0.5921 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1395, allocations: 56.91 kB / 0.5921 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000471/0.14, allocations: 173 kB / 0.5923 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1401, allocations: 42.5 kB / 0.5923 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.1401, allocations: 0 / 0.5923 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001145/0.1412, allocations: 434.2 kB / 0.5927 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1413, allocations: 55.41 kB / 0.5928 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.1413, allocations: 97.84 kB / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1413, allocations: 25.7 kB / 0.5929 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.1414, allocations: 88.14 kB / 0.593 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1414, allocations: 11.75 kB / 0.593 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.1414, allocations: 13.72 kB / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.1415, allocations: 318.8 kB / 0.5933 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1417, allocations: 44.09 kB / 0.5934 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1419, allocations: 48.03 kB / 0.5934 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.1422, allocations: 88.73 kB / 0.5935 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1422, allocations: 0 / 0.5935 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003694/0.1426, allocations: 133.5 kB / 0.5936 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1426, allocations: 6.031 kB / 0.5936 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1426, allocations: 4 kB / 0.5936 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.1426, allocations: 0 / 0.5936 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1428, allocations: 31.97 kB / 0.5937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1428, allocations: 0 / 0.5937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1429, allocations: 11.98 kB / 0.5937 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1429, allocations: 7.938 kB / 0.5937 GB, free: 13.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 7.015e-05/0.143, allocations: 117.8 kB / 0.5938 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.143, allocations: 7.938 kB / 0.5938 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.1435, allocations: 145.2 kB / 0.5939 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1435, allocations: 0 / 0.5939 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1435, allocations: 0 / 0.5939 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1435, allocations: 3.938 kB / 0.594 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.1436, allocations: 169.7 kB / 0.5941 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1437, allocations: 0 / 0.5941 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1438, allocations: 35.91 kB / 0.5941 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1438, allocations: 0 / 0.5941 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1438, allocations: 0 / 0.5941 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1438, allocations: 3.938 kB / 0.5942 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1439, allocations: 0 / 0.5942 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.1444, allocations: 217.2 kB / 0.5944 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.1445, allocations: 85.03 kB / 0.5944 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1445, allocations: 0 / 0.5944 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1447, allocations: 20.03 kB / 0.5945 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.1447, allocations: 8 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.1447, allocations: 4 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.1448, allocations: 79.28 kB / 0.5945 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1448, allocations: 0 / 0.5945 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002175/0.145, allocations: 27.98 kB / 0.5946 GB, free: 12.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001858/0.1452, allocations: 131.2 kB / 0.5947 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.1455, allocations: 104 kB / 0.5948 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1456, allocations: 0 / 0.5948 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.1457, allocations: 43.97 kB / 0.5948 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.1459, allocations: 7.938 kB / 0.5948 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.1465, allocations: 242.5 kB / 0.5951 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.1467, allocations: 0.677 MB / 0.5957 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1468, allocations: 11.44 kB / 0.5957 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1468, allocations: 4 kB / 0.5958 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.002304/0.1491, allocations: 1.122 MB / 0.5968 GB, free: 9.695 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)