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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002276/0.002276, allocations: 107.5 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8302/0.8302, allocations: 133.9 MB / 442.8 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 69.53 kB / 0.6135 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1575, allocations: 85.86 MB / 0.6973 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001728/0.1592, allocations: 0.5937 MB / 0.6979 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1612, allocations: 1.509 MB / 0.6994 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.1613, allocations: 0 / 0.6994 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.1613, allocations: 0 / 0.6994 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.1613, allocations: 8 kB / 0.6994 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.1618, allocations: 135.4 kB / 0.6995 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.1619, allocations: 27.97 kB / 0.6995 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.1619, allocations: 0 / 0.6995 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.162, allocations: 23.98 kB / 0.6996 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.162, allocations: 27.89 kB / 0.6996 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1621, allocations: 7.938 kB / 0.6996 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.1625, allocations: 315.4 kB / 0.6999 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1625, allocations: 11.97 kB / 0.6999 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.1626, allocations: 11.92 kB / 0.6999 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1629, allocations: 183.8 kB / 0.7001 GB, free: 88 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1629, allocations: 3.938 kB / 0.7001 GB, free: 84 kB / 0.5137 GB Notification: Performance of FrontEnd: time 3.627e-06/0.1629, allocations: 3.984 kB / 0.7001 GB, free: 80 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1629, allocations: 0 / 0.7001 GB, free: 80 kB / 0.5137 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.0005883/0.1635, allocations: 371.1 kB / 0.7004 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1635, allocations: 9.109 kB / 0.7005 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.1635, allocations: 30.75 kB / 0.7005 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004684/0.164, allocations: 72.84 kB / 0.7006 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1641, allocations: 160.4 kB / 0.7007 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1642, allocations: 4.375 kB / 0.7007 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1642, allocations: 384 / 0.7007 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.1645, allocations: 89.67 kB / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1645, allocations: 0 / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1645, allocations: 0 / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1645, allocations: 0 / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1648, allocations: 71.86 kB / 0.7009 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.165, allocations: 165.6 kB / 0.701 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.1656, allocations: 118.6 kB / 0.7011 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.1658, allocations: 48.91 kB / 0.7012 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004756/0.1663, allocations: 149 kB / 0.7013 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.1663, allocations: 42.44 kB / 0.7014 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1663, allocations: 4 kB / 0.7014 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001264/0.1676, allocations: 410.1 kB / 0.7018 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1676, allocations: 55.41 kB / 0.7018 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.1677, allocations: 93.84 kB / 0.7019 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.1678, allocations: 29.7 kB / 0.7019 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.1678, allocations: 80.14 kB / 0.702 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.1678, allocations: 11.91 kB / 0.702 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.1679, allocations: 29.83 kB / 0.7021 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.168, allocations: 310.8 kB / 0.7023 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1682, allocations: 35.91 kB / 0.7024 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1684, allocations: 39.97 kB / 0.7024 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.1687, allocations: 76.8 kB / 0.7025 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1687, allocations: 0 / 0.7025 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003908/0.1691, allocations: 113.5 kB / 0.7026 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1691, allocations: 12 kB / 0.7026 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1691, allocations: 0 / 0.7026 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1691, allocations: 0 / 0.7026 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1693, allocations: 23.97 kB / 0.7026 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1693, allocations: 0 / 0.7026 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1694, allocations: 15.98 kB / 0.7026 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1694, allocations: 8 kB / 0.7027 GB, free: 13.16 MB / 0.5294 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.841e-05/0.1695, allocations: 105.8 kB / 0.7028 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1695, allocations: 7.891 kB / 0.7028 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.17, allocations: 141.1 kB / 0.7029 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.17, allocations: 4 kB / 0.7029 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.17, allocations: 0 / 0.7029 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.17, allocations: 0 / 0.7029 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1702, allocations: 165.6 kB / 0.7031 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.1702, allocations: 4.25 kB / 0.7031 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1703, allocations: 31.97 kB / 0.7031 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1703, allocations: 0 / 0.7031 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1703, allocations: 0 / 0.7031 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1703, allocations: 3.938 kB / 0.7031 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1704, allocations: 4 kB / 0.7031 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.171, allocations: 185.3 kB / 0.7033 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.171, allocations: 93.02 kB / 0.7034 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1711, allocations: 3.984 kB / 0.7034 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1712, allocations: 15.98 kB / 0.7034 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1712, allocations: 12.05 kB / 0.7034 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1712, allocations: 0 / 0.7034 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.1713, allocations: 83.27 kB / 0.7035 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1713, allocations: 0 / 0.7035 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002469/0.1715, allocations: 31.88 kB / 0.7035 GB, free: 12.18 MB / 0.5294 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.001083/0.1726, allocations: 0.7489 MB / 0.7042 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.173, allocations: 80 kB / 0.7043 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.173, allocations: 0 / 0.7043 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1732, allocations: 43.95 kB / 0.7044 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.1734, allocations: 3.938 kB / 0.7044 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1756, allocations: 1.371 MB / 0.7057 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1759, allocations: 0.6844 MB / 0.7064 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.908e-05/0.176, allocations: 16 kB / 0.7064 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.1761, allocations: 19.44 kB / 0.7064 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.1761, allocations: 0 / 0.7064 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.2013, allocations: 2.057 MB / 0.7084 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.109, allocations: 6.484 kB / 0.7084 GB, free: 7.145 MB / 0.5294 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.867970296996646] Failed to read output from testmodel.py, exit status != 0: 8.178571660988382 8.202447284 8.035303974 Calling exit ...