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.001782/0.001782, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002408/0.002408, allocations: 214.2 kB / 22.25 MB, free: 5.117 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.785 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.8554/0.8554, allocations: 134 MB / 446.4 MB, free: 10.01 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.001948/0.001948, allocations: 66.39 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1654, allocations: 85.91 MB / 0.7024 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00176/0.1671, allocations: 0.6011 MB / 0.703 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1696, allocations: 1.428 MB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.1696, allocations: 0 / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.1696, allocations: 3.938 kB / 0.7044 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.1697, allocations: 0 / 0.7044 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.1704, allocations: 143.5 kB / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.1705, allocations: 27.97 kB / 0.7046 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.1705, allocations: 7.922 kB / 0.7046 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.295e-05/0.1706, allocations: 19.92 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1707, allocations: 23.95 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1707, allocations: 0 / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.1712, allocations: 247.5 kB / 0.7049 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.1712, allocations: 11.98 kB / 0.7049 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.1712, allocations: 11.92 kB / 0.7049 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.1716, allocations: 183.7 kB / 0.7051 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1716, allocations: 0 / 0.7051 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.1716, allocations: 0 / 0.7051 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.1716, allocations: 0 / 0.7051 GB, free: 14.33 MB / 0.5294 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.0006709/0.1723, allocations: 290 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1723, allocations: 12.03 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.1724, allocations: 34.75 kB / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004723/0.1729, allocations: 72.84 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.173, allocations: 106.5 kB / 0.7055 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.173, allocations: 4.375 kB / 0.7055 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.173, allocations: 384 / 0.7055 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.1733, allocations: 107.5 kB / 0.7057 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1733, allocations: 0 / 0.7057 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1734, allocations: 0 / 0.7057 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1734, allocations: 0 / 0.7057 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.1737, allocations: 67.88 kB / 0.7057 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.1739, allocations: 132.7 kB / 0.7058 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.1746, allocations: 126.6 kB / 0.706 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.1747, allocations: 44.92 kB / 0.706 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.1752, allocations: 75.89 kB / 0.7061 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1752, allocations: 42.5 kB / 0.7061 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.1752, allocations: 0 / 0.7061 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001165/0.1764, allocations: 329 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.1764, allocations: 59.28 kB / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1765, allocations: 97.86 kB / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1766, allocations: 25.7 kB / 0.7066 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.1766, allocations: 80.14 kB / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.1766, allocations: 23.88 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.1767, allocations: 21.72 kB / 0.7067 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1769, allocations: 314.8 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.177, allocations: 36.09 kB / 0.7071 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1772, allocations: 35.97 kB / 0.7071 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.1775, allocations: 72.8 kB / 0.7072 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1775, allocations: 0 / 0.7072 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003749/0.1778, allocations: 121.5 kB / 0.7073 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1779, allocations: 11.94 kB / 0.7073 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1779, allocations: 0 / 0.7073 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1779, allocations: 0 / 0.7073 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.178, allocations: 23.98 kB / 0.7073 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.178, allocations: 256 / 0.7073 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1781, allocations: 15.97 kB / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1782, allocations: 8 kB / 0.7073 GB, free: 11.76 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 0.0001744/0.1783, allocations: 109.8 kB / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1784, allocations: 11.89 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.1788, allocations: 137.3 kB / 0.7076 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1788, allocations: 0 / 0.7076 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1788, allocations: 0 / 0.7076 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1788, allocations: 0 / 0.7076 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.179, allocations: 136.8 kB / 0.7077 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.179, allocations: 3.938 kB / 0.7077 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1791, allocations: 23.98 kB / 0.7077 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1791, allocations: 0 / 0.7077 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1792, allocations: 3.984 kB / 0.7077 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1792, allocations: 0 / 0.7077 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1792, allocations: 4 kB / 0.7078 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.1797, allocations: 181.1 kB / 0.7079 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.1798, allocations: 11.88 kB / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1798, allocations: 11.88 kB / 0.7079 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1799, allocations: 16.05 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.18, allocations: 3.984 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.18, allocations: 8 kB / 0.708 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.18, allocations: 75.28 kB / 0.708 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.18, allocations: 0 / 0.708 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00026/0.1803, allocations: 35.86 kB / 0.7081 GB, free: 10.92 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.0009947/0.1813, allocations: 0.7412 MB / 0.7088 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.1816, allocations: 80.05 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1816, allocations: 4.062 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1818, allocations: 48.08 kB / 0.7089 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.182, allocations: 8 kB / 0.7089 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.1842, allocations: 1.356 MB / 0.7103 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.1842, allocations: 71.14 kB / 0.7103 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.675e-05/0.1843, allocations: 19.98 kB / 0.7103 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.1844, allocations: 15.44 kB / 0.7104 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.1844, allocations: 4 kB / 0.7104 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.2147, allocations: 2.606 MB / 0.7129 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.14, allocations: 4.062 kB / 0.7129 GB, free: 5.977 MB / 0.5294 GB " [Timeout remaining time 649] (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 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.810570241417736] Failed to read output from testmodel.py, exit status != 0: 11.247332524042577 11.272353598 11.095379329 Calling exit ...