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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 251 MB, free: 13.05 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.8866/0.8866, allocations: 134 MB / 440.3 MB, free: 244 kB / 334.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.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.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: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 68.62 kB / 0.6108 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.203, allocations: 84.73 MB / 0.6935 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002173/0.2052, allocations: 0.7911 MB / 0.6943 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.2076, allocations: 1.497 MB / 0.6958 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.2076, allocations: 3.938 kB / 0.6958 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.2077, allocations: 3.938 kB / 0.6958 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.2077, allocations: 0 / 0.6958 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.2085, allocations: 147.4 kB / 0.6959 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2086, allocations: 51.84 kB / 0.6959 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.2087, allocations: 4 kB / 0.696 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2088, allocations: 23.92 kB / 0.696 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.2089, allocations: 39.88 kB / 0.696 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.2089, allocations: 4 kB / 0.696 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.2095, allocations: 323.4 kB / 0.6963 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.2095, allocations: 11.92 kB / 0.6963 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.2096, allocations: 27.86 kB / 0.6964 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.21, allocations: 211.4 kB / 0.6966 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.21, allocations: 0 / 0.6966 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.21, allocations: 0 / 0.6966 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.21, allocations: 3.938 kB / 0.6966 GB, free: 5.824 MB / 0.5137 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.0008092/0.2108, allocations: 332 kB / 0.6969 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2108, allocations: 8.031 kB / 0.6969 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005006/0.2113, allocations: 76.8 kB / 0.697 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2114, allocations: 106.5 kB / 0.6971 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.2115, allocations: 12.38 kB / 0.6971 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.2115, allocations: 8.375 kB / 0.6971 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.2119, allocations: 113.9 kB / 0.6972 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.212, allocations: 3.953 kB / 0.6972 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.212, allocations: 4 kB / 0.6972 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.212, allocations: 0 / 0.6972 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.2126, allocations: 103.8 kB / 0.6973 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.2132, allocations: 303.8 kB / 0.6976 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.2139, allocations: 150.4 kB / 0.6977 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.2142, allocations: 52.81 kB / 0.6978 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2142, allocations: 4.141 kB / 0.6978 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.2142, allocations: 42.55 kB / 0.6978 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 3.015e-06/0.2142, allocations: 3.984 kB / 0.6978 GB, free: 4.406 MB / 0.5137 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.01901/0.2332, allocations: 2.685 MB / 0.7005 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2333, allocations: 63.34 kB / 0.7005 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.2334, allocations: 93.86 kB / 0.7006 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.2335, allocations: 29.8 kB / 0.7006 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.2335, allocations: 96.02 kB / 0.7007 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.2336, allocations: 39.64 kB / 0.7008 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2338, allocations: 69.58 kB / 0.7008 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2339, allocations: 322.8 kB / 0.7011 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.2347, allocations: 187.8 kB / 0.7013 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.2354, allocations: 195.8 kB / 0.7015 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.2368, allocations: 391.5 kB / 0.7019 GB, free: 164 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2368, allocations: 0 / 0.7019 GB, free: 164 kB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001701/0.2385, allocations: 481.3 kB / 0.7023 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.2385, allocations: 6.812 kB / 0.7023 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2385, allocations: 0 / 0.7023 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2385, allocations: 8 kB / 0.7024 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.2394, allocations: 103.7 kB / 0.7024 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2394, allocations: 3.938 kB / 0.7025 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/0.2401, allocations: 55.94 kB / 0.7025 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.2402, allocations: 19.94 kB / 0.7025 GB, free: 15.49 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.0001904/0.2404, allocations: 117.8 kB / 0.7026 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.2405, allocations: 4 kB / 0.7026 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.137e-05/0.2405, allocations: 16.06 kB / 0.7027 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2405, allocations: 4 kB / 0.7027 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2405, allocations: 7.875 kB / 0.7027 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2405, allocations: 0 / 0.7027 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.2431, allocations: 1.018 MB / 0.7037 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2431, allocations: 7.984 kB / 0.7037 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.2439, allocations: 103.8 kB / 0.7038 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.244, allocations: 3.938 kB / 0.7038 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.244, allocations: 23.94 kB / 0.7038 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.244, allocations: 0 / 0.7038 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.244, allocations: 4 kB / 0.7038 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.2466, allocations: 0.7909 MB / 0.7046 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2468, allocations: 47.89 kB / 0.7046 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.2469, allocations: 4 kB / 0.7046 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/0.2475, allocations: 43.94 kB / 0.7047 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2476, allocations: 27.92 kB / 0.7047 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.2477, allocations: 31.92 kB / 0.7047 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.2478, allocations: 79.28 kB / 0.7048 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2478, allocations: 0 / 0.7048 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004848/0.2483, allocations: 55.94 kB / 0.7048 GB, free: 12.98 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.0002458/0.2485, allocations: 107.2 kB / 0.705 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.2502, allocations: 423.4 kB / 0.7054 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2502, allocations: 0 / 0.7054 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.251, allocations: 219.7 kB / 0.7056 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.2514, allocations: 15.92 kB / 0.7056 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.256, allocations: 0.7633 MB / 0.7063 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.2565, allocations: 0.6888 MB / 0.707 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00068/0.2572, allocations: 92.64 kB / 0.7071 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.2575, allocations: 55.3 kB / 0.7071 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/0.2575, allocations: 0 / 0.7071 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.008905/0.2664, allocations: 3.577 MB / 0.7106 GB, free: 6.988 MB / 0.5294 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 sys.exit(0), Time elapsed: 6.0984271094202995] Failed to read output from testmodel.py, exit status != 0: 0.2751391474157572 0.29327656300000005 0.07984387600000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8c1a4297b0>