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.0007458/0.0007458, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0007577/0.0007577, allocations: 216.2 kB / 23 MB, free: 2.98 MB / 13.93 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 0.8835/0.8835, allocations: 230.6 MB / 256.8 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7511/0.7511, allocations: 203.8 MB / 0.5049 GB, free: 10.39 MB / 410.7 MB " [Timeout remaining time 179] 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.0009953/0.0009953, allocations: 70.52 kB / 0.7194 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4975, allocations: 102 MB / 0.8191 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001735/0.4992, allocations: 0.7807 MB / 0.8198 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.5007, allocations: 1.465 MB / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.466e-05/0.5007, allocations: 0 / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.5008, allocations: 4.922 kB / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.5008, allocations: 5.125 kB / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.5013, allocations: 149.8 kB / 0.8214 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.5014, allocations: 44.72 kB / 0.8214 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.5014, allocations: 10.73 kB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.5015, allocations: 24.47 kB / 0.8215 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.5015, allocations: 33.67 kB / 0.8215 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.5016, allocations: 5.5 kB / 0.8215 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.5019, allocations: 245.8 kB / 0.8218 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.5019, allocations: 11.67 kB / 0.8218 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.5019, allocations: 34.33 kB / 0.8218 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.5022, allocations: 196.7 kB / 0.822 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5022, allocations: 1.312 kB / 0.822 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5022, allocations: 4 kB / 0.822 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.5022, allocations: 3.938 kB / 0.822 GB, free: 15.53 MB / 0.6198 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.0004927/0.5027, allocations: 331.5 kB / 0.8223 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5027, allocations: 10.09 kB / 0.8223 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.503, allocations: 67.89 kB / 0.8224 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.722e-05/0.5031, allocations: 116.1 kB / 0.8225 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.5031, allocations: 4.156 kB / 0.8225 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.5031, allocations: 8.656 kB / 0.8225 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.5034, allocations: 164 kB / 0.8227 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5034, allocations: 1.156 kB / 0.8227 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5034, allocations: 5.312 kB / 0.8227 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.5034, allocations: 6.75 kB / 0.8227 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.5037, allocations: 101 kB / 0.8228 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.5041, allocations: 269 kB / 0.823 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.5045, allocations: 158.2 kB / 0.8232 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.5046, allocations: 49.81 kB / 0.8232 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.5047, allocations: 5.734 kB / 0.8232 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.5047, allocations: 35.66 kB / 0.8233 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.475e-06/0.5047, allocations: 5.094 kB / 0.8233 GB, free: 14.61 MB / 0.6198 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.009557/0.5142, allocations: 2.677 MB / 0.8259 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.5143, allocations: 52.69 kB / 0.8259 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.5143, allocations: 106 kB / 0.826 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.5144, allocations: 27.2 kB / 0.8261 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.5144, allocations: 94.77 kB / 0.8262 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.5145, allocations: 43.88 kB / 0.8262 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.5146, allocations: 70.52 kB / 0.8263 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.5147, allocations: 317.7 kB / 0.8266 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.5151, allocations: 192.3 kB / 0.8268 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.5155, allocations: 198.2 kB / 0.8269 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007942/0.5163, allocations: 391.7 kB / 0.8273 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5163, allocations: 4 kB / 0.8273 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009601/0.5173, allocations: 475.8 kB / 0.8278 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5173, allocations: 5.391 kB / 0.8278 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5173, allocations: 0 / 0.8278 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.5173, allocations: 1.469 kB / 0.8278 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.5178, allocations: 110.1 kB / 0.8279 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5178, allocations: 1.094 kB / 0.8279 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.5181, allocations: 58.56 kB / 0.8279 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.5181, allocations: 23.86 kB / 0.828 GB, free: 12.94 MB / 0.6198 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.0001243/0.5182, allocations: 117.4 kB / 0.8281 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.5183, allocations: 6.984 kB / 0.8281 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.5183, allocations: 14.62 kB / 0.8281 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5183, allocations: 2.344 kB / 0.8281 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5183, allocations: 0 / 0.8281 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5183, allocations: 4.734 kB / 0.8281 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.5198, allocations: 0.9627 MB / 0.829 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5198, allocations: 0.5312 kB / 0.829 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.5203, allocations: 106.1 kB / 0.8291 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5203, allocations: 1.156 kB / 0.8291 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.5203, allocations: 26.19 kB / 0.8292 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5203, allocations: 5 kB / 0.8292 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5203, allocations: 4.516 kB / 0.8292 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.522, allocations: 0.7949 MB / 0.83 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.5221, allocations: 39.92 kB / 0.83 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.5221, allocations: 6.75 kB / 0.83 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.5225, allocations: 50.52 kB / 0.83 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.5225, allocations: 31.66 kB / 0.8301 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.5226, allocations: 23.39 kB / 0.8301 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.5226, allocations: 80.08 kB / 0.8302 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5226, allocations: 0 / 0.8302 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000312/0.5229, allocations: 52.11 kB / 0.8302 GB, free: 11.75 MB / 0.6198 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.0001699/0.5231, allocations: 112.6 kB / 0.8303 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009234/0.524, allocations: 419 kB / 0.8307 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.524, allocations: 0 / 0.8307 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.5245, allocations: 224.3 kB / 0.8309 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.5247, allocations: 12.58 kB / 0.831 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.527, allocations: 0.7808 MB / 0.8317 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.527, allocations: 75.02 kB / 0.8318 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.5273, allocations: 80.97 kB / 0.8319 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.5273, allocations: 0 / 0.8319 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.004444/0.5317, allocations: 3.806 MB / 0.8356 GB, free: 9.062 MB / 0.6198 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 os._exit(0), Time elapsed: 5.796962821856141] Failed to read output from testmodel.py, exit status != 0: 0.5394801958464086 0.549203086 0.045036768000000005 Calling exit ...