Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001461/0.001461, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.00155/0.00155, allocations: 209.9 kB / 22.24 MB, free: 5.117 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.281/1.281, allocations: 203.8 MB / 0.5041 GB, free: 4.656 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.002102/0.002102, allocations: 71.88 kB / 0.7187 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6103/0.6124, allocations: 102 MB / 0.8183 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001988/0.6144, allocations: 0.7844 MB / 0.8191 GB, free: 28.4 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.6163, allocations: 1.457 MB / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.6163, allocations: 0 / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.6163, allocations: 5.219 kB / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.6164, allocations: 3.938 kB / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.6169, allocations: 146 kB / 0.8206 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.6171, allocations: 47.78 kB / 0.8207 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.6171, allocations: 3.078 kB / 0.8207 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.6172, allocations: 30.06 kB / 0.8207 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.6172, allocations: 37.48 kB / 0.8208 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.6173, allocations: 4.719 kB / 0.8208 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.6177, allocations: 247.4 kB / 0.821 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.6177, allocations: 14.8 kB / 0.821 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.6178, allocations: 26.03 kB / 0.821 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.6181, allocations: 204.2 kB / 0.8212 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6181, allocations: 1.781 kB / 0.8212 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6181, allocations: 0.6562 kB / 0.8212 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.6181, allocations: 0 / 0.8212 GB, free: 27.13 MB / 0.6387 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.0006204/0.6188, allocations: 332.2 kB / 0.8216 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6188, allocations: 10.56 kB / 0.8216 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005232/0.6193, allocations: 71.7 kB / 0.8216 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.6194, allocations: 114.4 kB / 0.8217 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.6194, allocations: 11.62 kB / 0.8218 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.6195, allocations: 5.375 kB / 0.8218 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.6199, allocations: 169 kB / 0.8219 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6199, allocations: 1.281 kB / 0.8219 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.6199, allocations: 0.75 kB / 0.8219 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.6199, allocations: 2.5 kB / 0.8219 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.6205, allocations: 99.55 kB / 0.822 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.621, allocations: 270 kB / 0.8223 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.6217, allocations: 154.4 kB / 0.8224 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.6219, allocations: 54.42 kB / 0.8225 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.6219, allocations: 1.344 kB / 0.8225 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.6219, allocations: 36.55 kB / 0.8225 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6219, allocations: 0 / 0.8225 GB, free: 26.23 MB / 0.6387 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.02099/0.6429, allocations: 2.687 MB / 0.8251 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.643, allocations: 53.38 kB / 0.8252 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.643, allocations: 106.2 kB / 0.8253 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.6431, allocations: 30.83 kB / 0.8253 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.6431, allocations: 86.86 kB / 0.8254 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.6432, allocations: 39.81 kB / 0.8254 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.6434, allocations: 69.42 kB / 0.8255 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.6434, allocations: 319.1 kB / 0.8258 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.6442, allocations: 188.2 kB / 0.826 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.6449, allocations: 202.1 kB / 0.8262 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.6463, allocations: 392.4 kB / 0.8266 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.6463, allocations: 4 kB / 0.8266 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001656/0.6479, allocations: 484.9 kB / 0.827 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6479, allocations: 9.438 kB / 0.827 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.648, allocations: 0.75 kB / 0.827 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.648, allocations: 1.375 kB / 0.827 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009743/0.649, allocations: 105.7 kB / 0.8271 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.649, allocations: 2.078 kB / 0.8271 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.6497, allocations: 54.05 kB / 0.8272 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.907e-05/0.6497, allocations: 22.84 kB / 0.8272 GB, free: 24.56 MB / 0.6387 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.0001735/0.6499, allocations: 119.6 kB / 0.8273 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.65, allocations: 6.578 kB / 0.8273 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.6501, allocations: 14.67 kB / 0.8273 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6501, allocations: 1.344 kB / 0.8273 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6501, allocations: 0.7969 kB / 0.8273 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6501, allocations: 5.25 kB / 0.8273 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.6523, allocations: 0.9619 MB / 0.8283 GB, free: 23.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6523, allocations: 1.75 kB / 0.8283 GB, free: 23.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009674/0.6533, allocations: 113.1 kB / 0.8284 GB, free: 23.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6533, allocations: 2.156 kB / 0.8284 GB, free: 23.78 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.6534, allocations: 21.45 kB / 0.8284 GB, free: 23.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6534, allocations: 5.281 kB / 0.8284 GB, free: 23.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6534, allocations: 3.984 kB / 0.8284 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.6558, allocations: 0.7888 MB / 0.8292 GB, free: 23.47 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.656, allocations: 45.52 kB / 0.8292 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.656, allocations: 0.7031 kB / 0.8292 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.6568, allocations: 48.55 kB / 0.8293 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6569, allocations: 33.31 kB / 0.8293 GB, free: 23.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.657, allocations: 24.12 kB / 0.8293 GB, free: 23.45 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.657, allocations: 80.34 kB / 0.8294 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.657, allocations: 3.938 kB / 0.8294 GB, free: 23.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004326/0.6575, allocations: 51.98 kB / 0.8295 GB, free: 23.37 MB / 0.6387 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.0002067/0.6577, allocations: 109.6 kB / 0.8296 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.6592, allocations: 416.9 kB / 0.83 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6592, allocations: 1.344 kB / 0.83 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007611/0.66, allocations: 227 kB / 0.8302 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.6604, allocations: 11.53 kB / 0.8302 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.6651, allocations: 0.7466 MB / 0.8309 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.057e-05/0.6651, allocations: 87.3 kB / 0.831 GB, free: 22.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005418/0.6657, allocations: 89.14 kB / 0.8311 GB, free: 22.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/0.666, allocations: 55.08 kB / 0.8312 GB, free: 22.77 MB / 0.6387 GB Notification: Performance of SimCode: time 1.072e-06/0.666, allocations: 0 / 0.8312 GB, free: 22.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.008393/0.6744, allocations: 3.723 MB / 0.8348 GB, free: 22.44 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.038352336734533] Failed to read output from testmodel.py, exit status != 0: 0.6830101553350687 0.694249164 0.07359955600000001 Calling exit ...