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.006102/0.006102, allocations: 102 kB / 15.73 MB, free: 6.051 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.001332/0.001332, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7642/0.7642, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 65.81 kB / 0.5852 GB, free: 21.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1647, allocations: 80.93 MB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002291/0.1671, allocations: 0.5836 MB / 0.6648 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1693, allocations: 1.457 MB / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.1694, allocations: 4 kB / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.1694, allocations: 0 / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.1695, allocations: 0 / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.1701, allocations: 139.4 kB / 0.6663 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.732e-05/0.1702, allocations: 35.89 kB / 0.6664 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1703, allocations: 4 kB / 0.6664 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.1703, allocations: 23.92 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.1704, allocations: 19.97 kB / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1704, allocations: 4 kB / 0.6664 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.171, allocations: 315.3 kB / 0.6667 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.171, allocations: 11.92 kB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.171, allocations: 7.984 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.1714, allocations: 191.6 kB / 0.6669 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1714, allocations: 0 / 0.6669 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.376e-06/0.1714, allocations: 4 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.1715, allocations: 0 / 0.6669 GB, free: 3.449 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.0006203/0.1721, allocations: 362.4 kB / 0.6673 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.1722, allocations: 9.109 kB / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.1722, allocations: 38.73 kB / 0.6673 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/0.1727, allocations: 64.86 kB / 0.6674 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.1728, allocations: 172.3 kB / 0.6675 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.1729, allocations: 4.375 kB / 0.6675 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.1729, allocations: 384 / 0.6675 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.1732, allocations: 85.69 kB / 0.6676 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1732, allocations: 3.938 kB / 0.6676 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1733, allocations: 0 / 0.6676 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1733, allocations: 0 / 0.6676 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.1736, allocations: 67.92 kB / 0.6677 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.1738, allocations: 165.7 kB / 0.6679 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.1744, allocations: 114.5 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.1746, allocations: 48.91 kB / 0.668 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004723/0.1751, allocations: 153 kB / 0.6682 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.1751, allocations: 42.5 kB / 0.6682 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1751, allocations: 0 / 0.6682 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00123/0.1764, allocations: 407 kB / 0.6686 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1764, allocations: 51.41 kB / 0.6686 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.1765, allocations: 101.8 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1765, allocations: 25.7 kB / 0.6688 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.1766, allocations: 80.14 kB / 0.6688 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1766, allocations: 23.73 kB / 0.6689 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.1767, allocations: 21.7 kB / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1768, allocations: 315 kB / 0.6692 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.177, allocations: 35.97 kB / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1772, allocations: 39.95 kB / 0.6692 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.1774, allocations: 72.81 kB / 0.6693 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1775, allocations: 4 kB / 0.6693 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003384/0.1778, allocations: 113.5 kB / 0.6694 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1778, allocations: 8 kB / 0.6694 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1778, allocations: 0 / 0.6694 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1779, allocations: 0 / 0.6694 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.178, allocations: 24.22 kB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.178, allocations: 0 / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-05/0.1781, allocations: 19.98 kB / 0.6695 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1781, allocations: 4 kB / 0.6695 GB, free: 0.5352 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 8.284e-05/0.1782, allocations: 109.8 kB / 0.6696 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1783, allocations: 11.84 kB / 0.6696 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.1787, allocations: 137.1 kB / 0.6697 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1787, allocations: 0 / 0.6697 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1787, allocations: 7.938 kB / 0.6697 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1787, allocations: 0 / 0.6697 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1789, allocations: 165.7 kB / 0.6699 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1789, allocations: 3.938 kB / 0.6699 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1791, allocations: 23.97 kB / 0.6699 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1791, allocations: 0 / 0.6699 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1791, allocations: 0 / 0.6699 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.1791, allocations: 4 kB / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1791, allocations: 0 / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.1798, allocations: 189 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.1799, allocations: 92.97 kB / 0.6702 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1799, allocations: 336 / 0.6702 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.18, allocations: 15.98 kB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.1801, allocations: 8.062 kB / 0.6702 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1801, allocations: 3.984 kB / 0.6702 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.561e-05/0.1801, allocations: 79.28 kB / 0.6703 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1801, allocations: 3.938 kB / 0.6703 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002295/0.1804, allocations: 24 kB / 0.6703 GB, free: 15.56 MB / 0.5137 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.0009296/0.1813, allocations: 0.762 MB / 0.6711 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.1817, allocations: 88.17 kB / 0.6712 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1817, allocations: 0 / 0.6712 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1819, allocations: 43.91 kB / 0.6712 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.182, allocations: 3.938 kB / 0.6712 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.1841, allocations: 1.372 MB / 0.6725 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1844, allocations: 0.6768 MB / 0.6732 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.1845, allocations: 16 kB / 0.6732 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.1846, allocations: 15.44 kB / 0.6732 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1846, allocations: 3.938 kB / 0.6732 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.2042, allocations: 2.042 MB / 0.6752 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.364/7.568, allocations: 9.656 kB / 0.6752 GB, free: 10.51 MB / 0.5137 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/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)