Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001189/0.001189, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8337/0.8337, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.62 kB / 0.5821 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001687/0.1452, allocations: 0.598 MB / 0.661 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1472, allocations: 1.461 MB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.1472, allocations: 0 / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.1472, allocations: 0 / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.1473, allocations: 7.938 kB / 0.6624 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.1478, allocations: 139.5 kB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.1479, allocations: 31.86 kB / 0.6626 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.539e-05/0.1479, allocations: 7.984 kB / 0.6626 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.148, allocations: 11.98 kB / 0.6626 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.1481, allocations: 19.97 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1481, allocations: 4 kB / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.1485, allocations: 315.3 kB / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.1486, allocations: 11.94 kB / 0.6629 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.1486, allocations: 3.984 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1489, allocations: 195.6 kB / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1489, allocations: 0 / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1489, allocations: 0 / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1489, allocations: 0 / 0.6631 GB, free: 7.426 MB / 0.4981 GB 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.0005742/0.1495, allocations: 371.5 kB / 0.6635 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1496, allocations: 8.031 kB / 0.6635 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.1501, allocations: 72.75 kB / 0.6635 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1502, allocations: 160.4 kB / 0.6637 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1502, allocations: 384 / 0.6637 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1503, allocations: 8.375 kB / 0.6637 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.1505, allocations: 81.88 kB / 0.6638 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.1506, allocations: 0 / 0.6638 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1506, allocations: 3.938 kB / 0.6638 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1506, allocations: 3.984 kB / 0.6638 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.1509, allocations: 63.94 kB / 0.6638 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.1511, allocations: 169.6 kB / 0.664 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.1517, allocations: 122.6 kB / 0.6641 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1519, allocations: 44.86 kB / 0.6642 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.1525, allocations: 161 kB / 0.6643 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1525, allocations: 34.5 kB / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1525, allocations: 0 / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001199/0.1537, allocations: 402.2 kB / 0.6647 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1538, allocations: 55.41 kB / 0.6648 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.1538, allocations: 89.86 kB / 0.6649 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1539, allocations: 33.83 kB / 0.6649 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.1539, allocations: 84.14 kB / 0.665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.154, allocations: 19.67 kB / 0.665 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.154, allocations: 21.72 kB / 0.665 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1541, allocations: 318.8 kB / 0.6653 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1543, allocations: 31.97 kB / 0.6654 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1544, allocations: 35.97 kB / 0.6654 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.1547, allocations: 76.8 kB / 0.6655 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1548, allocations: 3.938 kB / 0.6655 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003742/0.1551, allocations: 121.7 kB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1552, allocations: 8 kB / 0.6656 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1552, allocations: 0 / 0.6656 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1552, allocations: 0 / 0.6656 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.1553, allocations: 23.98 kB / 0.6656 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1554, allocations: 0 / 0.6656 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.1555, allocations: 19.97 kB / 0.6656 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1555, allocations: 0 / 0.6656 GB, free: 4.543 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 8.162e-05/0.1556, allocations: 110.7 kB / 0.6657 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1556, allocations: 3.938 kB / 0.6657 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.1561, allocations: 141.1 kB / 0.6659 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1561, allocations: 4 kB / 0.6659 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1561, allocations: 0 / 0.6659 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1561, allocations: 3.938 kB / 0.6659 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.1562, allocations: 161.7 kB / 0.666 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1562, allocations: 0 / 0.666 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.1564, allocations: 27.92 kB / 0.6661 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1564, allocations: 4 kB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1565, allocations: 7.984 kB / 0.6661 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1565, allocations: 0 / 0.6661 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1565, allocations: 0 / 0.6661 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.157, allocations: 181 kB / 0.6663 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.1571, allocations: 92.97 kB / 0.6663 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.1572, allocations: 8.062 kB / 0.6663 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1573, allocations: 11.98 kB / 0.6664 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.1573, allocations: 3.984 kB / 0.6664 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1573, allocations: 4.188 kB / 0.6664 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.1574, allocations: 79.28 kB / 0.6664 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1574, allocations: 0 / 0.6664 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002369/0.1576, allocations: 31.98 kB / 0.6665 GB, free: 3.574 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.0002502/0.1579, allocations: 131.3 kB / 0.6666 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.1583, allocations: 91.8 kB / 0.6667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1583, allocations: 4 kB / 0.6667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1584, allocations: 39.97 kB / 0.6667 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.1586, allocations: 4 kB / 0.6667 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.1593, allocations: 215.6 kB / 0.6669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1596, allocations: 0.6768 MB / 0.6676 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.1596, allocations: 15.44 kB / 0.6676 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1596, allocations: 4 kB / 0.6676 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of Templates: time 0.002696/0.1623, allocations: 1.129 MB / 0.6687 GB, free: 1.207 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)