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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005947/0.005947, allocations: 99.61 kB / 15.73 MB, free: 6.008 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.001188/0.001188, allocations: 195.9 kB / 16.67 MB, free: 5.93 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9719/0.9719, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 0.5857 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4113, allocations: 80.91 MB / 0.6647 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001435/0.4127, allocations: 0.5903 MB / 0.6653 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.4142, allocations: 1.464 MB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.4143, allocations: 4 kB / 0.6667 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.4143, allocations: 0 / 0.6667 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.466e-05/0.4143, allocations: 5.188 kB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.4148, allocations: 136.7 kB / 0.6668 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.4149, allocations: 31.72 kB / 0.6669 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.4149, allocations: 6.484 kB / 0.6669 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.4149, allocations: 17.73 kB / 0.6669 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.415, allocations: 29.89 kB / 0.6669 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.4151, allocations: 1.219 kB / 0.6669 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.4154, allocations: 316.8 kB / 0.6672 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.4155, allocations: 5.203 kB / 0.6672 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.4155, allocations: 14.67 kB / 0.6672 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.4158, allocations: 183.6 kB / 0.6674 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4158, allocations: 1.25 kB / 0.6674 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4158, allocations: 4 kB / 0.6674 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4158, allocations: 0 / 0.6674 GB, free: 5.543 MB / 0.4981 GB 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.0004368/0.4162, allocations: 364.3 kB / 0.6678 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4163, allocations: 13.28 kB / 0.6678 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.4167, allocations: 63.83 kB / 0.6678 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.4168, allocations: 165.7 kB / 0.668 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.4168, allocations: 5.375 kB / 0.668 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4169, allocations: 9.656 kB / 0.668 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.4171, allocations: 77.7 kB / 0.6681 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4171, allocations: 5.578 kB / 0.6681 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4171, allocations: 0 / 0.6681 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4171, allocations: 0 / 0.6681 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.4174, allocations: 63.06 kB / 0.6681 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.4176, allocations: 161.7 kB / 0.6683 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.4182, allocations: 131 kB / 0.6684 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.4183, allocations: 40.67 kB / 0.6685 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004273/0.4188, allocations: 149.2 kB / 0.6686 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.4188, allocations: 39.69 kB / 0.6686 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4188, allocations: 0 / 0.6686 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0011/0.4199, allocations: 411.4 kB / 0.669 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.4199, allocations: 51.41 kB / 0.6691 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.814e-05/0.42, allocations: 97.33 kB / 0.6692 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.42, allocations: 25.7 kB / 0.6692 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.42, allocations: 81.33 kB / 0.6693 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.4201, allocations: 19.86 kB / 0.6693 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.4201, allocations: 23.27 kB / 0.6693 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.618e-05/0.4202, allocations: 315.6 kB / 0.6696 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4203, allocations: 33.47 kB / 0.6697 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.4205, allocations: 41.95 kB / 0.6697 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.4208, allocations: 78.8 kB / 0.6698 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4208, allocations: 1.5 kB / 0.6698 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003497/0.4211, allocations: 117.1 kB / 0.6699 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4212, allocations: 5.219 kB / 0.6699 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4212, allocations: 0 / 0.6699 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4212, allocations: 3.984 kB / 0.6699 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.4213, allocations: 21.08 kB / 0.6699 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4214, allocations: 0 / 0.6699 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4215, allocations: 19.11 kB / 0.6699 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4215, allocations: 2.625 kB / 0.6699 GB, free: 3.246 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.4215, allocations: 123.2 kB / 0.6701 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.4216, allocations: 9.188 kB / 0.6701 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.422, allocations: 129.4 kB / 0.6702 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.422, allocations: 1.375 kB / 0.6702 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.422, allocations: 3.984 kB / 0.6702 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.422, allocations: 0 / 0.6702 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.796e-05/0.4221, allocations: 167.6 kB / 0.6703 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4221, allocations: 0 / 0.6703 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.4223, allocations: 29.34 kB / 0.6704 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4223, allocations: 0 / 0.6704 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4223, allocations: 1.594 kB / 0.6704 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4223, allocations: 4 kB / 0.6704 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4223, allocations: 3.938 kB / 0.6704 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.4229, allocations: 184.7 kB / 0.6706 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.4229, allocations: 91.75 kB / 0.6706 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.423, allocations: 0 / 0.6706 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.4231, allocations: 17.14 kB / 0.6707 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.4231, allocations: 5.672 kB / 0.6707 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.4231, allocations: 10.59 kB / 0.6707 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.917e-05/0.4232, allocations: 78.22 kB / 0.6708 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4232, allocations: 0 / 0.6708 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002376/0.4234, allocations: 24.25 kB / 0.6708 GB, free: 2.477 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 (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.0001859/0.4236, allocations: 131.2 kB / 0.6709 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.424, allocations: 87.33 kB / 0.671 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.424, allocations: 0 / 0.671 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.4242, allocations: 52.48 kB / 0.671 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.4244, allocations: 5.625 kB / 0.671 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.4251, allocations: 196.9 kB / 0.6712 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.4253, allocations: 0.6784 MB / 0.6719 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.81e-05/0.4254, allocations: 22.92 kB / 0.6719 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.4254, allocations: 15 kB / 0.6719 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.4254, allocations: 1.719 kB / 0.6719 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of Templates: time 0.003637/0.4291, allocations: 1.15 MB / 0.6731 GB, free: 0.8203 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)