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.001387/0.001387, allocations: 100.5 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.001695/0.001695, 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.253/2.253, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.564/1.564, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000545/0.0005451, allocations: 8.688 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2371, allocations: 82.32 MB / 0.5873 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00102/0.2382, allocations: 319.1 kB / 0.5876 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.2409, allocations: 1.389 MB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.2409, allocations: 4 kB / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.241, allocations: 0 / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.097e-05/0.241, allocations: 3.938 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.2416, allocations: 91.75 kB / 0.5891 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2417, allocations: 27.95 kB / 0.5891 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.2418, allocations: 3.938 kB / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.2418, allocations: 23.97 kB / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.242, allocations: 27.84 kB / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.242, allocations: 4 kB / 0.5891 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007154/0.2427, allocations: 303.5 kB / 0.5894 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.2428, allocations: 11.98 kB / 0.5894 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.2428, allocations: 29.64 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.2432, allocations: 139.8 kB / 0.5896 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2432, allocations: 0 / 0.5896 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.2432, allocations: 0 / 0.5896 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2432, allocations: 0 / 0.5896 GB, free: 0.6055 MB / 494.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.0007023/0.2439, allocations: 363.5 kB / 0.59 GB, free: 208 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.244, allocations: 12.03 kB / 0.59 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.2441, allocations: 38.55 kB / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007368/0.2448, allocations: 75.92 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.245, allocations: 167 kB / 0.5902 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.2451, allocations: 4 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.2451, allocations: 4 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.2455, allocations: 73.64 kB / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2455, allocations: 0 / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.2456, allocations: 8 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2456, allocations: 3.938 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.2461, allocations: 83.91 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.2464, allocations: 165.7 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.2474, allocations: 138.5 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007832/0.2482, allocations: 173.1 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.2483, allocations: 38.56 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.2483, allocations: 0 / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001931/0.2502, allocations: 438.1 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.2503, allocations: 51.41 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.2504, allocations: 97.86 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2504, allocations: 25.7 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.2505, allocations: 84.14 kB / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.2505, allocations: 23.64 kB / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.2506, allocations: 0 / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.2507, allocations: 318.8 kB / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.251, allocations: 44.09 kB / 0.5919 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.2513, allocations: 43.95 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.2516, allocations: 43.97 kB / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2516, allocations: 0 / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006388/0.2522, allocations: 121.6 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.2523, allocations: 8 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2523, allocations: 3.938 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.2523, allocations: 0 / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.2526, allocations: 35.84 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2526, allocations: 0 / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.2528, allocations: 20.23 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2528, allocations: 0 / 0.5922 GB, free: 13.67 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.253, allocations: 113.8 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.253, allocations: 7.984 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/0.2538, allocations: 145.2 kB / 0.5924 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2538, allocations: 0 / 0.5924 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.2538, allocations: 4 kB / 0.5924 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.2538, allocations: 7.922 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2541, allocations: 161.6 kB / 0.5926 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2541, allocations: 0 / 0.5926 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.2544, allocations: 35.97 kB / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2544, allocations: 0 / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2544, allocations: 0 / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2544, allocations: 4 kB / 0.5926 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2544, allocations: 0 / 0.5926 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.2554, allocations: 204.9 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.2555, allocations: 85.05 kB / 0.5929 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.2556, allocations: 8.031 kB / 0.5929 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2558, allocations: 16.05 kB / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.2558, allocations: 4 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.2558, allocations: 11.92 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.2559, allocations: 75.28 kB / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2559, allocations: 0 / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004604/0.2564, allocations: 28 kB / 0.5931 GB, free: 12.67 MB / 0.4981 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 (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.001535/0.2579, allocations: 0.7687 MB / 0.5938 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006335/0.2586, allocations: 99.92 kB / 0.5939 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2586, allocations: 0 / 0.5939 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.2589, allocations: 52.28 kB / 0.594 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.2591, allocations: 0 / 0.594 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2613, allocations: 0.5843 MB / 0.5945 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.2616, allocations: 0.6809 MB / 0.5952 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.2619, allocations: 24 kB / 0.5952 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/0.262, allocations: 15.42 kB / 0.5952 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.262, allocations: 0 / 0.5952 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.2815, allocations: 1.79 MB / 0.597 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003313/0.2819, allocations: 193.1 kB / 0.5972 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/2.881, allocations: 7.438 kB / 0.5972 GB, free: 8.473 MB / 0.4981 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/linux/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) Environment - environmentSimulation: