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.001061/0.001061, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.16 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3591, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001705/0.3608, allocations: 0.5982 MB / 0.5808 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3624, allocations: 1.461 MB / 0.5822 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.3625, allocations: 0 / 0.5822 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.3625, allocations: 0 / 0.5822 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.578e-05/0.3625, allocations: 0 / 0.5822 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.363, allocations: 141.2 kB / 0.5823 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.363, allocations: 27.11 kB / 0.5824 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.3631, allocations: 2.719 kB / 0.5824 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.3631, allocations: 24.5 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/0.3632, allocations: 18.67 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3632, allocations: 1.969 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.3637, allocations: 319.2 kB / 0.5827 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3637, allocations: 13.11 kB / 0.5827 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.3638, allocations: 14.31 kB / 0.5828 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.3641, allocations: 183.6 kB / 0.5829 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3641, allocations: 0 / 0.5829 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3641, allocations: 0 / 0.5829 GB, free: 2.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3641, allocations: 0.5625 kB / 0.5829 GB, free: 2.883 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.0004476/0.3646, allocations: 370.5 kB / 0.5833 GB, free: 2.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3646, allocations: 8.875 kB / 0.5833 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.3646, allocations: 32.48 kB / 0.5833 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004811/0.3651, allocations: 66.22 kB / 0.5834 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.312e-05/0.3652, allocations: 166.4 kB / 0.5835 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3652, allocations: 2.094 kB / 0.5835 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3652, allocations: 2.812 kB / 0.5835 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.3655, allocations: 83.11 kB / 0.5836 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3655, allocations: 0 / 0.5836 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3655, allocations: 9.906 kB / 0.5836 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3655, allocations: 0 / 0.5836 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.3659, allocations: 60.95 kB / 0.5837 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.366, allocations: 172 kB / 0.5839 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.3666, allocations: 118.9 kB / 0.584 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.3668, allocations: 49.64 kB / 0.584 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.3672, allocations: 151.2 kB / 0.5842 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.3673, allocations: 39.98 kB / 0.5842 GB, free: 1.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3673, allocations: 1 kB / 0.5842 GB, free: 1.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001109/0.3684, allocations: 402.7 kB / 0.5846 GB, free: 1.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.3684, allocations: 52.38 kB / 0.5846 GB, free: 1.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.897e-05/0.3685, allocations: 110 kB / 0.5847 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.3685, allocations: 25.7 kB / 0.5848 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.225e-05/0.3685, allocations: 82.06 kB / 0.5848 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3685, allocations: 19.09 kB / 0.5849 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.3686, allocations: 17.61 kB / 0.5849 GB, free: 1.199 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.89e-05/0.3686, allocations: 316.8 kB / 0.5852 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3688, allocations: 37.89 kB / 0.5852 GB, free: 0.875 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.369, allocations: 35.23 kB / 0.5853 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.3693, allocations: 75.17 kB / 0.5853 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3693, allocations: 0 / 0.5853 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003649/0.3697, allocations: 120.1 kB / 0.5854 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3697, allocations: 8.219 kB / 0.5854 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3697, allocations: 0 / 0.5854 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3697, allocations: 1.281 kB / 0.5854 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3699, allocations: 25.77 kB / 0.5855 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3699, allocations: 0.7969 kB / 0.5855 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.37, allocations: 12.61 kB / 0.5855 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.37, allocations: 1.969 kB / 0.5855 GB, free: 0.793 MB / 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.637e-05/0.3701, allocations: 112.4 kB / 0.5856 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.3701, allocations: 5.734 kB / 0.5856 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.3706, allocations: 137.9 kB / 0.5857 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3706, allocations: 4.703 kB / 0.5857 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3706, allocations: 5.328 kB / 0.5857 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3706, allocations: 0 / 0.5857 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.3707, allocations: 167.7 kB / 0.5859 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3707, allocations: 7.938 kB / 0.5859 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.3709, allocations: 22.94 kB / 0.5859 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3709, allocations: 0 / 0.5859 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3709, allocations: 2.359 kB / 0.5859 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3709, allocations: 0 / 0.5859 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3709, allocations: 2.078 kB / 0.5859 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.3715, allocations: 188.1 kB / 0.5861 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.3716, allocations: 92.48 kB / 0.5862 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3716, allocations: 0.9062 kB / 0.5862 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3717, allocations: 16.22 kB / 0.5862 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.3718, allocations: 5.578 kB / 0.5862 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3718, allocations: 2.672 kB / 0.5862 GB, free: 200 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.149e-05/0.3718, allocations: 84.75 kB / 0.5863 GB, free: 116 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3718, allocations: 4.969 kB / 0.5863 GB, free: 112 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3721, allocations: 34.58 kB / 0.5863 GB, free: 100 kB / 430.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.001007/0.3731, allocations: 0.7487 MB / 0.5871 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.3735, allocations: 83.22 kB / 0.5872 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3735, allocations: 4 kB / 0.5872 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3737, allocations: 49.41 kB / 0.5872 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.3739, allocations: 2.562 kB / 0.5872 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3761, allocations: 1.349 MB / 0.5885 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.3764, allocations: 0.6792 MB / 0.5892 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.3765, allocations: 19.72 kB / 0.5892 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.3766, allocations: 17.78 kB / 0.5892 GB, free: 13.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3766, allocations: 0 / 0.5892 GB, free: 13.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.396, allocations: 2.008 MB / 0.5912 GB, free: 13.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.467, allocations: 15.78 kB / 0.5912 GB, free: 13.19 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)