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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001655/0.001655, allocations: 193.9 kB / 16.14 MB, free: 6.707 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7535/0.7535, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 62.94 kB / 0.5012 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 80.2 MB / 0.5795 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001831/0.16, allocations: 0.6616 MB / 0.5802 GB, free: 8.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1618, allocations: 1.472 MB / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.1619, allocations: 0 / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.1619, allocations: 0 / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.72e-05/0.1619, allocations: 0 / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.1623, allocations: 111.7 kB / 0.5817 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.1624, allocations: 27.97 kB / 0.5817 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.1625, allocations: 4 kB / 0.5817 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.1625, allocations: 23.91 kB / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.1626, allocations: 19.97 kB / 0.5818 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1626, allocations: 0 / 0.5818 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.163, allocations: 323.3 kB / 0.5821 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.1631, allocations: 15.92 kB / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1631, allocations: 0 / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1634, allocations: 187.6 kB / 0.5823 GB, free: 6.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1634, allocations: 0 / 0.5823 GB, free: 6.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1634, allocations: 0 / 0.5823 GB, free: 6.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1634, allocations: 0 / 0.5823 GB, free: 6.258 MB / 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.0005046/0.1639, allocations: 379.6 kB / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.164, allocations: 8.031 kB / 0.5826 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.164, allocations: 34.75 kB / 0.5827 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.1645, allocations: 68.84 kB / 0.5827 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1646, allocations: 160.4 kB / 0.5829 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1646, allocations: 384 / 0.5829 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1646, allocations: 8.375 kB / 0.5829 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.1649, allocations: 77.75 kB / 0.583 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1649, allocations: 0 / 0.583 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1649, allocations: 4 kB / 0.583 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.165, allocations: 7.875 kB / 0.583 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.1653, allocations: 71.86 kB / 0.5831 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.1654, allocations: 157.7 kB / 0.5832 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.166, allocations: 118.6 kB / 0.5833 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1662, allocations: 52.91 kB / 0.5834 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004525/0.1667, allocations: 149 kB / 0.5835 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1667, allocations: 34.5 kB / 0.5836 GB, free: 4.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1667, allocations: 4 kB / 0.5836 GB, free: 4.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001189/0.1679, allocations: 406.2 kB / 0.5839 GB, free: 4.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.168, allocations: 55.41 kB / 0.584 GB, free: 4.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.168, allocations: 97.84 kB / 0.5841 GB, free: 4.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1681, allocations: 33.64 kB / 0.5841 GB, free: 4.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.1681, allocations: 80.14 kB / 0.5842 GB, free: 4.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1681, allocations: 19.66 kB / 0.5842 GB, free: 4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.1682, allocations: 17.72 kB / 0.5842 GB, free: 3.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.1683, allocations: 318.8 kB / 0.5845 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.1685, allocations: 40.09 kB / 0.5846 GB, free: 3.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1686, allocations: 35.97 kB / 0.5846 GB, free: 3.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.169, allocations: 72.8 kB / 0.5847 GB, free: 3.508 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.169, allocations: 0 / 0.5847 GB, free: 3.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003583/0.1693, allocations: 117.6 kB / 0.5848 GB, free: 3.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1694, allocations: 9.875 kB / 0.5848 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1694, allocations: 0 / 0.5848 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1694, allocations: 0 / 0.5848 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1695, allocations: 31.91 kB / 0.5848 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1695, allocations: 0 / 0.5848 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.1696, allocations: 11.98 kB / 0.5848 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1697, allocations: 4 kB / 0.5848 GB, free: 3.332 MB / 494.1 MB 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.093e-05/0.1698, allocations: 109.8 kB / 0.585 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1698, allocations: 7.938 kB / 0.585 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.1702, allocations: 133.5 kB / 0.5851 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1703, allocations: 0 / 0.5851 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1703, allocations: 0 / 0.5851 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1703, allocations: 7.922 kB / 0.5851 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1704, allocations: 173.6 kB / 0.5853 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1704, allocations: 7.938 kB / 0.5853 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1706, allocations: 28.28 kB / 0.5853 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1706, allocations: 0 / 0.5853 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1706, allocations: 7.938 kB / 0.5853 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1706, allocations: 0 / 0.5853 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1706, allocations: 0 / 0.5853 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.1712, allocations: 184.9 kB / 0.5855 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.1713, allocations: 93.06 kB / 0.5856 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1713, allocations: 0 / 0.5856 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1714, allocations: 15.97 kB / 0.5856 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.1715, allocations: 4 kB / 0.5856 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.1715, allocations: 3.938 kB / 0.5856 GB, free: 2.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.386e-05/0.1715, allocations: 87.34 kB / 0.5857 GB, free: 2.379 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1715, allocations: 0 / 0.5857 GB, free: 2.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1718, allocations: 31.98 kB / 0.5857 GB, free: 2.348 MB / 494.1 MB 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.0008894/0.1727, allocations: 0.7451 MB / 0.5864 GB, free: 1.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.173, allocations: 79.94 kB / 0.5865 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1731, allocations: 0 / 0.5865 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1732, allocations: 51.95 kB / 0.5866 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.1734, allocations: 4 kB / 0.5866 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1754, allocations: 1.361 MB / 0.5879 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1756, allocations: 0.677 MB / 0.5886 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.1758, allocations: 23.98 kB / 0.5886 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.1759, allocations: 11.44 kB / 0.5886 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1759, allocations: 0 / 0.5886 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.1869, allocations: 1.891 MB / 0.5904 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.1872, allocations: 205.7 kB / 0.5906 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.902, allocations: 0 / 0.5906 GB, free: 13.26 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)