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.0006899/0.0006899, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007033/0.0007033, allocations: 203.8 kB / 23 MB, free: 3.125 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.8419/0.8419, allocations: 230.6 MB / 256.8 MB, free: 3.453 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.7215/0.7215, allocations: 203.8 MB / 0.5049 GB, free: 0.6797 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.0009276/0.0009276, allocations: 71.89 kB / 0.7195 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4757, allocations: 102 MB / 0.8191 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001627/0.4773, allocations: 0.7911 MB / 0.8199 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.4789, allocations: 1.551 MB / 0.8214 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.4789, allocations: 1.125 kB / 0.8214 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.479, allocations: 4.625 kB / 0.8214 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.479, allocations: 0 / 0.8214 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.4795, allocations: 155.7 kB / 0.8216 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.4796, allocations: 49.09 kB / 0.8216 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.4797, allocations: 6.5 kB / 0.8216 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.4798, allocations: 34.42 kB / 0.8217 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.4798, allocations: 35.36 kB / 0.8217 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.4798, allocations: 4 kB / 0.8217 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004123/0.4803, allocations: 315.1 kB / 0.822 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.4803, allocations: 14.34 kB / 0.822 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.4803, allocations: 29.73 kB / 0.822 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.4807, allocations: 211.2 kB / 0.8222 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4807, allocations: 1.594 kB / 0.8222 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4807, allocations: 1.625 kB / 0.8222 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.4807, allocations: 0 / 0.8222 GB, free: 23.29 MB / 0.6355 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.0004923/0.4812, allocations: 334.2 kB / 0.8226 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4812, allocations: 11.06 kB / 0.8226 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.4815, allocations: 69.62 kB / 0.8226 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.15e-05/0.4816, allocations: 111.1 kB / 0.8227 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.4816, allocations: 7.438 kB / 0.8227 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.4816, allocations: 8.781 kB / 0.8228 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.4819, allocations: 110.9 kB / 0.8229 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4819, allocations: 5.188 kB / 0.8229 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4819, allocations: 0.875 kB / 0.8229 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4819, allocations: 2.188 kB / 0.8229 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.4822, allocations: 106.8 kB / 0.823 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.4826, allocations: 308 kB / 0.8233 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.483, allocations: 152.9 kB / 0.8234 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.4832, allocations: 58.39 kB / 0.8235 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4832, allocations: 1 kB / 0.8235 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.4832, allocations: 36.41 kB / 0.8235 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4832, allocations: 0.5 kB / 0.8235 GB, free: 22.4 MB / 0.6355 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.009288/0.4925, allocations: 2.689 MB / 0.8261 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.4925, allocations: 56.66 kB / 0.8262 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.428e-05/0.4926, allocations: 101 kB / 0.8263 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4926, allocations: 27.58 kB / 0.8263 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.4927, allocations: 90.75 kB / 0.8264 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.4927, allocations: 39.45 kB / 0.8264 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4928, allocations: 68.97 kB / 0.8265 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.4929, allocations: 327.5 kB / 0.8268 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.4933, allocations: 191.2 kB / 0.827 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.4937, allocations: 194.7 kB / 0.8272 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/0.4945, allocations: 394.5 kB / 0.8276 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4945, allocations: 1 kB / 0.8276 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009393/0.4954, allocations: 476.4 kB / 0.828 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4954, allocations: 5.406 kB / 0.828 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4954, allocations: 0 / 0.828 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4954, allocations: 6.812 kB / 0.828 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.4959, allocations: 105.3 kB / 0.8281 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4959, allocations: 5.703 kB / 0.8281 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.4961, allocations: 44.64 kB / 0.8282 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.4962, allocations: 27.98 kB / 0.8282 GB, free: 20.73 MB / 0.6355 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.0001119/0.4963, allocations: 114.3 kB / 0.8283 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.4963, allocations: 12.64 kB / 0.8283 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.4964, allocations: 10.7 kB / 0.8283 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4964, allocations: 1.375 kB / 0.8283 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4964, allocations: 3.938 kB / 0.8283 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4964, allocations: 0.5625 kB / 0.8283 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.4978, allocations: 1.03 MB / 0.8293 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4978, allocations: 4.094 kB / 0.8293 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.4982, allocations: 106.4 kB / 0.8294 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4982, allocations: 3.938 kB / 0.8294 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.4983, allocations: 23.22 kB / 0.8295 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4983, allocations: 5.656 kB / 0.8295 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4983, allocations: 0 / 0.8295 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.4997, allocations: 0.7956 MB / 0.8303 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4998, allocations: 44.27 kB / 0.8303 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.4998, allocations: 1.375 kB / 0.8303 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.5001, allocations: 48.14 kB / 0.8303 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.5002, allocations: 30.23 kB / 0.8304 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.5002, allocations: 24.27 kB / 0.8304 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.235e-05/0.5002, allocations: 83.2 kB / 0.8305 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5002, allocations: 0 / 0.8305 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003171/0.5006, allocations: 47.45 kB / 0.8305 GB, free: 19.5 MB / 0.6355 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.0001549/0.5007, allocations: 110 kB / 0.8306 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008845/0.5016, allocations: 425.8 kB / 0.831 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5016, allocations: 0 / 0.831 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.502, allocations: 223.6 kB / 0.8312 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.5023, allocations: 18.48 kB / 0.8313 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.5044, allocations: 0.7854 MB / 0.832 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.53e-05/0.5045, allocations: 0.6906 MB / 0.8327 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.5048, allocations: 79.41 kB / 0.8328 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of SimCode: time 8.71e-07/0.5048, allocations: 0 / 0.8328 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.006452/0.5113, allocations: 3.779 MB / 0.8365 GB, free: 18.08 MB / 0.6355 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.682446053950116] Failed to read output from testmodel.py, exit status != 0: 0.5170395928435028 0.525913592 0.043532841 Calling exit ...