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.001085/0.001085, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001041/0.001041, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.082/2.082, allocations: 223.2 MB / 239.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.122/1.122, allocations: 132.2 MB / 423.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 15.92 kB / 0.5033 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7268, allocations: 81.56 MB / 0.583 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008261/0.7277, allocations: 331.2 kB / 0.5833 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.7296, allocations: 1.396 MB / 0.5846 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.7296, allocations: 0 / 0.5846 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.7297, allocations: 0 / 0.5846 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.7297, allocations: 3.531 kB / 0.5847 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.7302, allocations: 101.7 kB / 0.5847 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.7303, allocations: 33.31 kB / 0.5848 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.7303, allocations: 2.125 kB / 0.5848 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.7304, allocations: 16.84 kB / 0.5848 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.7305, allocations: 31.5 kB / 0.5848 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.7305, allocations: 1.625 kB / 0.5848 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005932/0.7311, allocations: 305.7 kB / 0.5851 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.7312, allocations: 9.969 kB / 0.5851 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.7312, allocations: 26.61 kB / 0.5852 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.7315, allocations: 137.8 kB / 0.5853 GB, free: 2.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7316, allocations: 3.938 kB / 0.5853 GB, free: 2.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7316, allocations: 0 / 0.5853 GB, free: 2.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.7316, allocations: 5.125 kB / 0.5853 GB, free: 2.414 MB / 430.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.0005055/0.7321, allocations: 360.4 kB / 0.5856 GB, free: 2.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7321, allocations: 9.344 kB / 0.5856 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.7322, allocations: 36.78 kB / 0.5857 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/0.7327, allocations: 81.83 kB / 0.5858 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/0.7328, allocations: 169.8 kB / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.7329, allocations: 1.688 kB / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.7329, allocations: 1.375 kB / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.7332, allocations: 80.59 kB / 0.586 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.7332, allocations: 4.812 kB / 0.586 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.7332, allocations: 0.6875 kB / 0.586 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.7333, allocations: 0.7812 kB / 0.586 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.7336, allocations: 80.81 kB / 0.5861 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.7338, allocations: 169.3 kB / 0.5862 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.7345, allocations: 142.7 kB / 0.5864 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.7351, allocations: 177.1 kB / 0.5866 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.7352, allocations: 32.36 kB / 0.5866 GB, free: 1.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.7352, allocations: 0 / 0.5866 GB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001356/0.7365, allocations: 437.4 kB / 0.587 GB, free: 1.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.7366, allocations: 55.41 kB / 0.5871 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.7366, allocations: 98.41 kB / 0.5871 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7367, allocations: 31.48 kB / 0.5872 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.7367, allocations: 80.14 kB / 0.5873 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.7367, allocations: 15.48 kB / 0.5873 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-06/0.7368, allocations: 0 / 0.5873 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.7368, allocations: 321.3 kB / 0.5876 GB, free: 452 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.737, allocations: 43.52 kB / 0.5876 GB, free: 444 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.7372, allocations: 45.34 kB / 0.5877 GB, free: 436 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.7374, allocations: 37.92 kB / 0.5877 GB, free: 432 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.7374, allocations: 0.7031 kB / 0.5877 GB, free: 432 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000423/0.7379, allocations: 127.6 kB / 0.5878 GB, free: 380 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.7379, allocations: 11.53 kB / 0.5878 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7379, allocations: 0.8438 kB / 0.5878 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7379, allocations: 0.7188 kB / 0.5878 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.7381, allocations: 34.09 kB / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7381, allocations: 0 / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.7383, allocations: 19.25 kB / 0.5879 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.7383, allocations: 3.109 kB / 0.5879 GB, free: 364 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.7384, allocations: 115.4 kB / 0.588 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.7384, allocations: 1.906 kB / 0.588 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005484/0.7389, allocations: 144.5 kB / 0.5881 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.739, allocations: 1.406 kB / 0.5881 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.739, allocations: 1.672 kB / 0.5881 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.739, allocations: 0 / 0.5881 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.7392, allocations: 175 kB / 0.5883 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7392, allocations: 0 / 0.5883 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.7394, allocations: 33.86 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7394, allocations: 1 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.7394, allocations: 1.562 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7394, allocations: 2.234 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7394, allocations: 0 / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.7401, allocations: 205.9 kB / 0.5885 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.7402, allocations: 91.91 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.7403, allocations: 1.562 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.7404, allocations: 15.55 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.7405, allocations: 4.75 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.7405, allocations: 3.453 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.952e-05/0.7405, allocations: 77.27 kB / 0.5887 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7405, allocations: 96 / 0.5887 GB, free: 15.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000309/0.7408, allocations: 39.61 kB / 0.5888 GB, free: 15.68 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.7421, allocations: 0.7707 MB / 0.5895 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.7426, allocations: 96.56 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.7426, allocations: 1.375 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.7428, allocations: 54.66 kB / 0.5897 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.7429, allocations: 7.391 kB / 0.5897 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.7445, allocations: 0.5599 MB / 0.5902 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.7449, allocations: 0.6861 MB / 0.5909 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.745, allocations: 19.39 kB / 0.5909 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.7451, allocations: 17.55 kB / 0.5909 GB, free: 13.9 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.7451, allocations: 0 / 0.5909 GB, free: 13.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.7639, allocations: 1.794 MB / 0.5927 GB, free: 13.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.7642, allocations: 181.8 kB / 0.5928 GB, free: 13.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/3.507, allocations: 1.375 kB / 0.5928 GB, free: 13.5 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: