Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_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.005619/0.005619, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001219/0.001219, allocations: 198.5 kB / 16.68 MB, free: 5.934 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8863/0.8863, allocations: 135.6 MB / 426.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002861/0.002861, allocations: 68.53 kB / 0.5858 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1765, allocations: 81.02 MB / 0.6649 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001825/0.1783, allocations: 0.5905 MB / 0.6655 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1803, allocations: 1.449 MB / 0.6669 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1804, allocations: 8 kB / 0.6669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.1804, allocations: 0 / 0.6669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.1805, allocations: 3.938 kB / 0.6669 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.181, allocations: 139.4 kB / 0.667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.1811, allocations: 31.92 kB / 0.6671 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.1811, allocations: 15.97 kB / 0.6671 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.1812, allocations: 11.98 kB / 0.6671 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.757e-05/0.1813, allocations: 19.97 kB / 0.6671 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1813, allocations: 4 kB / 0.6671 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.1818, allocations: 319.3 kB / 0.6674 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.1818, allocations: 3.938 kB / 0.6674 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.1819, allocations: 11.98 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.1822, allocations: 191.7 kB / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1822, allocations: 0 / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.1822, allocations: 0 / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.1823, allocations: 4 kB / 0.6676 GB, free: 2.816 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.0006238/0.1829, allocations: 367.1 kB / 0.668 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1829, allocations: 9.109 kB / 0.668 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.183, allocations: 30.75 kB / 0.668 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.1834, allocations: 76.8 kB / 0.6681 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1836, allocations: 164.3 kB / 0.6682 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1836, allocations: 4.375 kB / 0.6683 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1837, allocations: 384 / 0.6683 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.184, allocations: 81.75 kB / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.184, allocations: 3.938 kB / 0.6683 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.184, allocations: 0 / 0.6683 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.184, allocations: 0 / 0.6683 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.1843, allocations: 63.94 kB / 0.6684 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.1846, allocations: 165.7 kB / 0.6686 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.1852, allocations: 130.5 kB / 0.6687 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.1854, allocations: 40.92 kB / 0.6687 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.1859, allocations: 153 kB / 0.6689 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.1859, allocations: 46.5 kB / 0.6689 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.1859, allocations: 0 / 0.6689 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00125/0.1872, allocations: 406.1 kB / 0.6693 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1873, allocations: 51.41 kB / 0.6693 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.1874, allocations: 93.86 kB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1874, allocations: 25.7 kB / 0.6695 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.1874, allocations: 84.27 kB / 0.6695 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.1875, allocations: 19.84 kB / 0.6696 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.1875, allocations: 21.72 kB / 0.6696 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1877, allocations: 314.8 kB / 0.6699 GB, free: 232 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1878, allocations: 32.03 kB / 0.6699 GB, free: 200 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.188, allocations: 43.97 kB / 0.6699 GB, free: 156 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.1884, allocations: 84.73 kB / 0.67 GB, free: 68 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1884, allocations: 0 / 0.67 GB, free: 68 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000434/0.1888, allocations: 109.6 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1888, allocations: 8 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1889, allocations: 0 / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1889, allocations: 0 / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.189, allocations: 19.98 kB / 0.6702 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1891, allocations: 3.984 kB / 0.6702 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1892, allocations: 19.98 kB / 0.6702 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1892, allocations: 4 kB / 0.6702 GB, free: 15.9 MB / 0.5137 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.0001079/0.1893, allocations: 109.8 kB / 0.6703 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1893, allocations: 7.938 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.1899, allocations: 137.2 kB / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1899, allocations: 336 / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1899, allocations: 3.938 kB / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1899, allocations: 0 / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1901, allocations: 169.6 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1901, allocations: 3.938 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.1903, allocations: 23.97 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1903, allocations: 0 / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1903, allocations: 12.23 kB / 0.6706 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1903, allocations: 7.938 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1904, allocations: 0 / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.191, allocations: 184.9 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.1911, allocations: 89.06 kB / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1911, allocations: 0 / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1913, allocations: 20.05 kB / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.1913, allocations: 7.984 kB / 0.6709 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1913, allocations: 0 / 0.6709 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.1914, allocations: 79.28 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1914, allocations: 0 / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002628/0.1917, allocations: 35.86 kB / 0.671 GB, free: 14.92 MB / 0.5137 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.00113/0.1928, allocations: 0.7528 MB / 0.6718 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.1932, allocations: 83.98 kB / 0.6719 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1933, allocations: 0 / 0.6719 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.1934, allocations: 47.89 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.1936, allocations: 8 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.1959, allocations: 1.352 MB / 0.6732 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1963, allocations: 0.6768 MB / 0.6739 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.1964, allocations: 28.3 kB / 0.6739 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1965, allocations: 11.44 kB / 0.6739 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.1965, allocations: 3.938 kB / 0.6739 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.2233, allocations: 2.054 MB / 0.6759 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.107, allocations: 4 kB / 0.6759 GB, free: 9.863 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)