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.000942/0.000942, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0059/0.0059, allocations: 170 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7135/0.7135, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 13.09 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3933, allocations: 81.58 MB / 0.5838 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006296/0.3939, allocations: 337.1 kB / 0.5841 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3955, allocations: 1.452 MB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.3955, allocations: 0.75 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.3955, allocations: 3.938 kB / 0.5855 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.129e-05/0.3955, allocations: 0 / 0.5855 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.3959, allocations: 115.3 kB / 0.5856 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.396, allocations: 28.92 kB / 0.5856 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.3961, allocations: 5.719 kB / 0.5856 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.3961, allocations: 16.91 kB / 0.5857 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.3962, allocations: 23.23 kB / 0.5857 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3962, allocations: 2.75 kB / 0.5857 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.3967, allocations: 319 kB / 0.586 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.3967, allocations: 9.016 kB / 0.586 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.3967, allocations: 35.36 kB / 0.586 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.397, allocations: 192.2 kB / 0.5862 GB, free: 2.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3971, allocations: 0 / 0.5862 GB, free: 2.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3971, allocations: 0 / 0.5862 GB, free: 2.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3971, allocations: 0 / 0.5862 GB, free: 2.363 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.0004085/0.3975, allocations: 361.9 kB / 0.5866 GB, free: 1.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3975, allocations: 8.594 kB / 0.5866 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.3976, allocations: 33.72 kB / 0.5866 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004824/0.3981, allocations: 81.83 kB / 0.5867 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.864e-05/0.3981, allocations: 170.5 kB / 0.5868 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3982, allocations: 9.562 kB / 0.5869 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.3982, allocations: 2.562 kB / 0.5869 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.3985, allocations: 85.42 kB / 0.5869 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3985, allocations: 0.9062 kB / 0.5869 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3985, allocations: 0 / 0.5869 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3985, allocations: 1.359 kB / 0.5869 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.3988, allocations: 76.88 kB / 0.587 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.399, allocations: 167.7 kB / 0.5872 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.3996, allocations: 148.5 kB / 0.5873 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.3998, allocations: 51.7 kB / 0.5874 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/0.4003, allocations: 173.1 kB / 0.5875 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.4003, allocations: 36.83 kB / 0.5876 GB, free: 1.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.4003, allocations: 0 / 0.5876 GB, free: 1.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001143/0.4015, allocations: 436.2 kB / 0.588 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.4015, allocations: 53.75 kB / 0.588 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.202e-05/0.4015, allocations: 101.5 kB / 0.5881 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4016, allocations: 30.17 kB / 0.5882 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.187e-05/0.4016, allocations: 80.67 kB / 0.5882 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.4016, allocations: 20.05 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.4016, allocations: 11.61 kB / 0.5883 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.4017, allocations: 317.3 kB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4019, allocations: 45.12 kB / 0.5886 GB, free: 356 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.402, allocations: 48.64 kB / 0.5887 GB, free: 344 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.4024, allocations: 86.91 kB / 0.5887 GB, free: 324 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4024, allocations: 0 / 0.5887 GB, free: 324 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003867/0.4028, allocations: 128.1 kB / 0.5889 GB, free: 272 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4028, allocations: 5.469 kB / 0.5889 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.4028, allocations: 0 / 0.5889 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4028, allocations: 1.906 kB / 0.5889 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.403, allocations: 29.5 kB / 0.5889 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.403, allocations: 0 / 0.5889 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.4031, allocations: 14.97 kB / 0.5889 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.4031, allocations: 6.562 kB / 0.5889 GB, free: 264 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.4032, allocations: 116.1 kB / 0.589 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.4032, allocations: 6.688 kB / 0.589 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.4037, allocations: 145 kB / 0.5892 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4037, allocations: 1.109 kB / 0.5892 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4037, allocations: 1.188 kB / 0.5892 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4037, allocations: 0 / 0.5892 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.4039, allocations: 174.8 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4039, allocations: 5.375 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.404, allocations: 32.25 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.404, allocations: 1.156 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4041, allocations: 1.516 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4041, allocations: 1.328 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4041, allocations: 0.9062 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.4047, allocations: 211.6 kB / 0.5896 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.4048, allocations: 91.2 kB / 0.5897 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4048, allocations: 1.281 kB / 0.5897 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4049, allocations: 19.73 kB / 0.5897 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.405, allocations: 9.656 kB / 0.5897 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.405, allocations: 1.406 kB / 0.5897 GB, free: 15.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.227e-05/0.405, allocations: 78.42 kB / 0.5898 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.405, allocations: 0 / 0.5898 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000236/0.4053, allocations: 38.88 kB / 0.5898 GB, free: 15.56 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 (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.0009159/0.4062, allocations: 0.7644 MB / 0.5906 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.4066, allocations: 97.94 kB / 0.5907 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4066, allocations: 0 / 0.5907 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.4068, allocations: 52.11 kB / 0.5907 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.407, allocations: 11.53 kB / 0.5907 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.409, allocations: 1.405 MB / 0.5921 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.4092, allocations: 0.6786 MB / 0.5927 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.4093, allocations: 20.61 kB / 0.5928 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.4094, allocations: 13.06 kB / 0.5928 GB, free: 13.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4094, allocations: 3.938 kB / 0.5928 GB, free: 13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/0.5404, allocations: 1.819 MB / 0.5946 GB, free: 12.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.5405, allocations: 208 kB / 0.5948 GB, free: 12.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.335, allocations: 0 / 0.5948 GB, free: 12.59 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/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)