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.005459/0.005459, allocations: 102.1 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.001094/0.001094, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9967/0.9967, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.91 kB / 0.5857 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4297, allocations: 80.91 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002021/0.4318, allocations: 0.5873 MB / 0.6653 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.4334, allocations: 1.452 MB / 0.6667 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.4335, allocations: 0 / 0.6667 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.4335, allocations: 4.906 kB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.093e-05/0.4335, allocations: 3.938 kB / 0.6667 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.4341, allocations: 145.9 kB / 0.6668 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.4342, allocations: 27.28 kB / 0.6669 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.4342, allocations: 2.438 kB / 0.6669 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.4343, allocations: 17.7 kB / 0.6669 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.4344, allocations: 28.83 kB / 0.6669 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.4344, allocations: 2.312 kB / 0.6669 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.4348, allocations: 321 kB / 0.6672 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.4348, allocations: 9.188 kB / 0.6672 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.4348, allocations: 14.58 kB / 0.6672 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.4351, allocations: 184.5 kB / 0.6674 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4351, allocations: 0 / 0.6674 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4351, allocations: 0 / 0.6674 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4352, allocations: 0 / 0.6674 GB, free: 5.535 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.0004592/0.4356, allocations: 371.2 kB / 0.6678 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4357, allocations: 8.625 kB / 0.6678 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.4361, allocations: 72.5 kB / 0.6678 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.4362, allocations: 164.4 kB / 0.668 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.4363, allocations: 9.719 kB / 0.668 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.4363, allocations: 10.59 kB / 0.668 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.4366, allocations: 72.95 kB / 0.6681 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4366, allocations: 1.062 kB / 0.6681 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4366, allocations: 4 kB / 0.6681 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4366, allocations: 1.094 kB / 0.6681 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.4369, allocations: 62.61 kB / 0.6681 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.4371, allocations: 165.2 kB / 0.6683 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.4377, allocations: 118.9 kB / 0.6684 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.4379, allocations: 52.78 kB / 0.6685 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.4383, allocations: 149.5 kB / 0.6686 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.4383, allocations: 35.69 kB / 0.6686 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4383, allocations: 1.5 kB / 0.6686 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001173/0.4395, allocations: 405.6 kB / 0.669 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.4396, allocations: 56.47 kB / 0.6691 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.95e-05/0.4396, allocations: 100.6 kB / 0.6692 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.4396, allocations: 25.7 kB / 0.6692 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.4397, allocations: 81.48 kB / 0.6693 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.4397, allocations: 14.95 kB / 0.6693 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.4397, allocations: 19.89 kB / 0.6693 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.4398, allocations: 316.5 kB / 0.6696 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.44, allocations: 37.72 kB / 0.6697 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4401, allocations: 33.38 kB / 0.6697 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.4404, allocations: 78.61 kB / 0.6698 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4404, allocations: 1.156 kB / 0.6698 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003319/0.4408, allocations: 116.5 kB / 0.6699 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4408, allocations: 5.531 kB / 0.6699 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4408, allocations: 0 / 0.6699 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4408, allocations: 1.5 kB / 0.6699 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.441, allocations: 31.25 kB / 0.6699 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.441, allocations: 1.125 kB / 0.6699 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.4411, allocations: 10.89 kB / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4411, allocations: 2.688 kB / 0.6699 GB, free: 3.238 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.505e-05/0.4411, allocations: 119.1 kB / 0.67 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.4412, allocations: 13.31 kB / 0.6701 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.4416, allocations: 136.8 kB / 0.6702 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4416, allocations: 1.156 kB / 0.6702 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4416, allocations: 1.188 kB / 0.6702 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4416, allocations: 0 / 0.6702 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.381e-05/0.4417, allocations: 167.1 kB / 0.6703 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4418, allocations: 4 kB / 0.6704 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.4419, allocations: 28.53 kB / 0.6704 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4419, allocations: 1.188 kB / 0.6704 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4419, allocations: 1.562 kB / 0.6704 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4419, allocations: 0 / 0.6704 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.442, allocations: 3.938 kB / 0.6704 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.4425, allocations: 188.7 kB / 0.6706 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.4425, allocations: 95.66 kB / 0.6707 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.4426, allocations: 0 / 0.6707 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4427, allocations: 12.39 kB / 0.6707 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.4427, allocations: 2.469 kB / 0.6707 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4427, allocations: 2.844 kB / 0.6707 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.233e-05/0.4428, allocations: 88.89 kB / 0.6708 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4428, allocations: 0 / 0.6708 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.443, allocations: 25.16 kB / 0.6708 GB, free: 2.461 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.0002041/0.4432, allocations: 123.1 kB / 0.6709 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.4436, allocations: 91.05 kB / 0.671 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4436, allocations: 0 / 0.671 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.4438, allocations: 41.09 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.0001595/0.444, allocations: 9.359 kB / 0.671 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.4446, allocations: 196.3 kB / 0.6712 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.4447, allocations: 0.683 MB / 0.6719 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.398e-05/0.4448, allocations: 14.06 kB / 0.6719 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.4448, allocations: 15.42 kB / 0.6719 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4448, allocations: 1.594 kB / 0.6719 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of Templates: time 0.003525/0.4484, allocations: 1.161 MB / 0.6731 GB, free: 0.8086 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)