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.0007545/0.0007545, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008945/0.0008946, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7284/0.7284, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003594, allocations: 13.88 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3843, allocations: 81.57 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007064/0.385, allocations: 330.6 kB / 0.5835 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3868, allocations: 1.391 MB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.3869, allocations: 1.656 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.3869, allocations: 0 / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.09e-05/0.3869, allocations: 4.938 kB / 0.5848 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.3875, allocations: 108.1 kB / 0.5849 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.3875, allocations: 24.42 kB / 0.585 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.3876, allocations: 1.891 kB / 0.585 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.3877, allocations: 17.45 kB / 0.585 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.3878, allocations: 30.47 kB / 0.585 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3878, allocations: 1.344 kB / 0.585 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.3883, allocations: 303.4 kB / 0.5853 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.3884, allocations: 5.375 kB / 0.5853 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.3884, allocations: 30.52 kB / 0.5853 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3887, allocations: 134.9 kB / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3887, allocations: 0.8438 kB / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3887, allocations: 0 / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3887, allocations: 1.469 kB / 0.5855 GB, free: 2.535 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.000429/0.3892, allocations: 360.5 kB / 0.5858 GB, free: 2.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3892, allocations: 9.156 kB / 0.5858 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.3892, allocations: 35.81 kB / 0.5859 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004466/0.3897, allocations: 78.31 kB / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.3898, allocations: 168.8 kB / 0.5861 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.3898, allocations: 1.719 kB / 0.5861 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3899, allocations: 6.219 kB / 0.5861 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3901, allocations: 81.39 kB / 0.5862 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3901, allocations: 0 / 0.5862 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3902, allocations: 5.172 kB / 0.5862 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3902, allocations: 4.656 kB / 0.5862 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.3905, allocations: 72.67 kB / 0.5863 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.3906, allocations: 172.1 kB / 0.5864 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.3912, allocations: 143.8 kB / 0.5866 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.3914, allocations: 52.61 kB / 0.5866 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/0.3919, allocations: 172.8 kB / 0.5868 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3919, allocations: 36.64 kB / 0.5868 GB, free: 1.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3919, allocations: 0.9375 kB / 0.5868 GB, free: 1.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001126/0.393, allocations: 435.3 kB / 0.5872 GB, free: 1.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.3931, allocations: 52.19 kB / 0.5873 GB, free: 1.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.3931, allocations: 97.61 kB / 0.5874 GB, free: 1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3931, allocations: 31.05 kB / 0.5874 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.574e-05/0.3932, allocations: 80.94 kB / 0.5875 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3932, allocations: 23.33 kB / 0.5875 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.3932, allocations: 1.312 kB / 0.5875 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.3933, allocations: 320.9 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.3934, allocations: 40.89 kB / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3936, allocations: 42.97 kB / 0.5879 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3937, allocations: 51.06 kB / 0.5879 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3937, allocations: 0.7188 kB / 0.5879 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003465/0.3941, allocations: 124.1 kB / 0.5881 GB, free: 480 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3941, allocations: 5.094 kB / 0.5881 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3941, allocations: 0.7969 kB / 0.5881 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3941, allocations: 0.7812 kB / 0.5881 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3943, allocations: 29.3 kB / 0.5881 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3943, allocations: 0.7812 kB / 0.5881 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.3944, allocations: 14.44 kB / 0.5881 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3944, allocations: 3.484 kB / 0.5881 GB, free: 476 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 6.06e-05/0.3945, allocations: 120.3 kB / 0.5882 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.3945, allocations: 1.406 kB / 0.5882 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.395, allocations: 148.9 kB / 0.5884 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.395, allocations: 0.7969 kB / 0.5884 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.395, allocations: 1.406 kB / 0.5884 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.395, allocations: 0.6562 kB / 0.5884 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.3951, allocations: 169.9 kB / 0.5885 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3951, allocations: 1.062 kB / 0.5885 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.3953, allocations: 32.58 kB / 0.5886 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3953, allocations: 2.078 kB / 0.5886 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3953, allocations: 2.172 kB / 0.5886 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3953, allocations: 0 / 0.5886 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3953, allocations: 0 / 0.5886 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.3959, allocations: 215.3 kB / 0.5888 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.396, allocations: 88.12 kB / 0.5889 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.396, allocations: 1.703 kB / 0.5889 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3961, allocations: 27.38 kB / 0.5889 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.3962, allocations: 8.406 kB / 0.5889 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3962, allocations: 3.969 kB / 0.5889 GB, free: 15.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.672e-05/0.3962, allocations: 77.5 kB / 0.589 GB, free: 15.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3962, allocations: 0 / 0.589 GB, free: 15.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3965, allocations: 39.5 kB / 0.589 GB, free: 15.76 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.0009592/0.3975, allocations: 0.762 MB / 0.5897 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3979, allocations: 98.05 kB / 0.5898 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3979, allocations: 0 / 0.5898 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.398, allocations: 50.98 kB / 0.5899 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.3982, allocations: 13.61 kB / 0.5899 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.3996, allocations: 0.563 MB / 0.5905 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3998, allocations: 0.6786 MB / 0.5911 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3999, allocations: 16.23 kB / 0.5911 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.4, allocations: 13 kB / 0.5911 GB, free: 14 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4, allocations: 5.5 kB / 0.5911 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.4131, allocations: 1.802 MB / 0.5929 GB, free: 13.83 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.4133, allocations: 195.8 kB / 0.5931 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.001, allocations: 3.125 kB / 0.5931 GB, free: 13.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/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: