Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 110.2 kB / 19.7 MB, free: 2.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 223.2 kB / 23.01 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8467/0.8467, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 69.55 kB / 0.6198 GB, free: 6.691 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.163, allocations: 85.9 MB / 0.7037 GB, free: 0.8672 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002698/0.1656, allocations: 0.794 MB / 0.7045 GB, free: 80 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.168, allocations: 1.54 MB / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.168, allocations: 0 / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.1681, allocations: 3.938 kB / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.1681, allocations: 7.875 kB / 0.706 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.1687, allocations: 158.5 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.1688, allocations: 51.66 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.1688, allocations: 4 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.1689, allocations: 27.92 kB / 0.7062 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.169, allocations: 27.89 kB / 0.7063 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.169, allocations: 4 kB / 0.7063 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.1695, allocations: 323.3 kB / 0.7066 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.1695, allocations: 11.94 kB / 0.7066 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.1696, allocations: 27.86 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.1699, allocations: 223.3 kB / 0.7068 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1699, allocations: 0 / 0.7068 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1699, allocations: 0 / 0.7068 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.1699, allocations: 0 / 0.7068 GB, free: 13.67 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006715/0.1706, allocations: 336.3 kB / 0.7071 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1707, allocations: 12.03 kB / 0.7071 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/0.1711, allocations: 64.86 kB / 0.7072 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1712, allocations: 118.4 kB / 0.7073 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.1712, allocations: 4.375 kB / 0.7073 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1713, allocations: 8.375 kB / 0.7073 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.1716, allocations: 113.9 kB / 0.7074 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1717, allocations: 0 / 0.7074 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1717, allocations: 4 kB / 0.7074 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1717, allocations: 0 / 0.7074 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.1721, allocations: 103 kB / 0.7075 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.1728, allocations: 299.8 kB / 0.7078 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.1734, allocations: 154.4 kB / 0.708 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.1736, allocations: 56.81 kB / 0.708 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1736, allocations: 8.141 kB / 0.708 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1737, allocations: 30.56 kB / 0.7081 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 3.246e-06/0.1737, allocations: 3.984 kB / 0.7081 GB, free: 12.26 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01809/0.1917, allocations: 2.691 MB / 0.7107 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1918, allocations: 59.28 kB / 0.7108 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1919, allocations: 101.8 kB / 0.7109 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.192, allocations: 29.7 kB / 0.7109 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.192, allocations: 88.09 kB / 0.711 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/0.1921, allocations: 35.78 kB / 0.711 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.1923, allocations: 73.52 kB / 0.7111 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1924, allocations: 322.8 kB / 0.7114 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/0.1931, allocations: 191.8 kB / 0.7116 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.1937, allocations: 183.8 kB / 0.7117 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.195, allocations: 400.7 kB / 0.7121 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.195, allocations: 0 / 0.7121 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001508/0.1965, allocations: 477.1 kB / 0.7126 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1965, allocations: 8 kB / 0.7126 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1965, allocations: 4.953 kB / 0.7126 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1966, allocations: 4 kB / 0.7126 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.1974, allocations: 107.8 kB / 0.7127 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1974, allocations: 7.938 kB / 0.7127 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.198, allocations: 43.94 kB / 0.7127 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.198, allocations: 23.94 kB / 0.7128 GB, free: 7.34 MB / 0.5294 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 (13): * Single equations (assignments): 13 * 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 0.000176/0.1982, allocations: 117.8 kB / 0.7129 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.1983, allocations: 7.953 kB / 0.7129 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.1984, allocations: 16.05 kB / 0.7129 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1984, allocations: 0 / 0.7129 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.1984, allocations: 3.938 kB / 0.7129 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1984, allocations: 3.938 kB / 0.7129 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.2006, allocations: 1.015 MB / 0.7139 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2007, allocations: 4 kB / 0.7139 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008118/0.2015, allocations: 103.8 kB / 0.714 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.2015, allocations: 3.938 kB / 0.714 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.2015, allocations: 23.92 kB / 0.714 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2015, allocations: 11.94 kB / 0.714 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2015, allocations: 0 / 0.714 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.2039, allocations: 0.7856 MB / 0.7148 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.2041, allocations: 43.86 kB / 0.7149 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.2042, allocations: 0 / 0.7149 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/0.2048, allocations: 43.94 kB / 0.7149 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.2049, allocations: 35.98 kB / 0.7149 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.205, allocations: 19.94 kB / 0.7149 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.205, allocations: 83.27 kB / 0.715 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.205, allocations: 3.938 kB / 0.715 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003861/0.2054, allocations: 55.94 kB / 0.7151 GB, free: 4.836 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002189/0.2057, allocations: 111.1 kB / 0.7152 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.2071, allocations: 419.3 kB / 0.7156 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2071, allocations: 0 / 0.7156 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.2078, allocations: 223.7 kB / 0.7158 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.2081, allocations: 13.81 kB / 0.7158 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.2124, allocations: 0.7887 MB / 0.7166 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.2127, allocations: 0.6924 MB / 0.7173 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.2131, allocations: 75.23 kB / 0.7173 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/0.2131, allocations: 0 / 0.7173 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of Templates: time 0.006953/0.2201, allocations: 3.788 MB / 0.721 GB, free: 14.66 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.050426193047315] Failed to read output from testmodel.py, exit status != 0: 0.22802147991023958 0.24396925899999997 0.07093706199999994 Calling exit ...