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.001333/0.001333, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00146/0.00146, allocations: 217.1 kB / 23.03 MB, free: 4.922 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8329/0.8329, allocations: 134 MB / 447.2 MB, free: 9.922 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",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.002096/0.002096, allocations: 58.47 kB / 0.6193 GB, free: 6.836 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1745, allocations: 85.92 MB / 0.7032 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0019/0.1764, allocations: 0.5993 MB / 0.7038 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1784, allocations: 1.432 MB / 0.7052 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.1785, allocations: 0 / 0.7052 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.1785, allocations: 0 / 0.7052 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.001e-05/0.1785, allocations: 3.938 kB / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.179, allocations: 139.5 kB / 0.7053 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.645e-05/0.1791, allocations: 31.95 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.1792, allocations: 0 / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.1792, allocations: 15.98 kB / 0.7054 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.1793, allocations: 27.89 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1793, allocations: 4 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.1797, allocations: 263.5 kB / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.1797, allocations: 3.984 kB / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.1798, allocations: 15.92 kB / 0.7057 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.1801, allocations: 179.8 kB / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1801, allocations: 0 / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1801, allocations: 0 / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.1801, allocations: 0 / 0.7058 GB, free: 14.3 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.0005719/0.1807, allocations: 290 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1807, allocations: 12.03 kB / 0.7061 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.658e-05/0.1808, allocations: 4.188 kB / 0.7061 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.1808, allocations: 34.75 kB / 0.7061 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.1813, allocations: 68.84 kB / 0.7062 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1814, allocations: 106.5 kB / 0.7063 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1814, allocations: 4.375 kB / 0.7063 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1814, allocations: 384 / 0.7063 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.1817, allocations: 111.2 kB / 0.7064 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1817, allocations: 4 kB / 0.7064 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1817, allocations: 4 kB / 0.7064 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1817, allocations: 4 kB / 0.7064 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.182, allocations: 63.92 kB / 0.7065 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.1822, allocations: 132.7 kB / 0.7066 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.1828, allocations: 126.5 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.183, allocations: 40.92 kB / 0.7068 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000439/0.1834, allocations: 87.83 kB / 0.7069 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1834, allocations: 30.56 kB / 0.7069 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1834, allocations: 0 / 0.7069 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001211/0.1846, allocations: 329 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1847, allocations: 55.41 kB / 0.7073 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.1848, allocations: 93.86 kB / 0.7074 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1848, allocations: 29.7 kB / 0.7074 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.1848, allocations: 84.08 kB / 0.7075 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1849, allocations: 15.89 kB / 0.7075 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.1849, allocations: 21.84 kB / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1851, allocations: 318.8 kB / 0.7078 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.1852, allocations: 39.91 kB / 0.7078 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1854, allocations: 35.97 kB / 0.7079 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.1857, allocations: 72.8 kB / 0.7079 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1857, allocations: 4 kB / 0.7079 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003802/0.186, allocations: 117.8 kB / 0.7081 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1861, allocations: 4 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1861, allocations: 4 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1861, allocations: 0 / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1862, allocations: 23.97 kB / 0.7081 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1862, allocations: 3.938 kB / 0.7081 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.974e-05/0.1863, allocations: 11.98 kB / 0.7081 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1863, allocations: 4 kB / 0.7081 GB, free: 11.73 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 9.067e-05/0.1864, allocations: 113.8 kB / 0.7082 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1865, allocations: 11.89 kB / 0.7082 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.1869, allocations: 129.3 kB / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1869, allocations: 0 / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1869, allocations: 0 / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1869, allocations: 0 / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.1871, allocations: 144.7 kB / 0.7085 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1871, allocations: 3.938 kB / 0.7085 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1872, allocations: 23.92 kB / 0.7085 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1872, allocations: 0 / 0.7085 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1873, allocations: 7.984 kB / 0.7085 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1873, allocations: 0 / 0.7085 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1873, allocations: 0 / 0.7085 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.1879, allocations: 185 kB / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.1879, allocations: 16.3 kB / 0.7087 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1879, allocations: 0 / 0.7087 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1881, allocations: 11.98 kB / 0.7087 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.1881, allocations: 4.172 kB / 0.7087 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1881, allocations: 8 kB / 0.7087 GB, free: 11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.1881, allocations: 87.22 kB / 0.7088 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1881, allocations: 0 / 0.7088 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002299/0.1884, allocations: 32.02 kB / 0.7089 GB, free: 10.89 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.000986/0.1894, allocations: 0.7489 MB / 0.7096 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.1897, allocations: 87.92 kB / 0.7097 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1897, allocations: 0 / 0.7097 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.1899, allocations: 39.95 kB / 0.7097 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.1901, allocations: 8 kB / 0.7097 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.1922, allocations: 1.364 MB / 0.711 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.348e-05/0.1923, allocations: 63.22 kB / 0.7111 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.234e-05/0.1924, allocations: 19.98 kB / 0.7111 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.1924, allocations: 15.44 kB / 0.7111 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1924, allocations: 0 / 0.7111 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.2189, allocations: 2.262 MB / 0.7134 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.36, allocations: 9.938 kB / 0.7134 GB, free: 6.289 MB / 0.5294 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.969332503038459] Failed to read output from testmodel.py, exit status != 0: 11.521868146955967 11.548964408 11.363994963 Calling exit ...