Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.0008284/0.0008284, 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.0008291/0.0008291, allocations: 211.2 kB / 23 MB, free: 2.977 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.8837/0.8837, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7459/0.7459, allocations: 203.8 MB / 0.5049 GB, free: 10.41 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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.0009071/0.0009071, allocations: 66.78 kB / 0.7194 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.515, allocations: 102 MB / 0.8191 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001384/0.5164, allocations: 0.6012 MB / 0.8196 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.5178, allocations: 1.442 MB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.5178, allocations: 2.375 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.5179, allocations: 0 / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.5179, allocations: 0 / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.5184, allocations: 141 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.5184, allocations: 30.84 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.5185, allocations: 6.484 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.5185, allocations: 13.17 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.5186, allocations: 31.44 kB / 0.8213 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.5186, allocations: 0 / 0.8213 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.5189, allocations: 245.2 kB / 0.8215 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.5189, allocations: 11.77 kB / 0.8215 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.5189, allocations: 7.391 kB / 0.8215 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.5192, allocations: 178.3 kB / 0.8217 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5192, allocations: 4 kB / 0.8217 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5192, allocations: 3.219 kB / 0.8217 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5192, allocations: 0 / 0.8217 GB, free: 15.75 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004349/0.5196, allocations: 288 kB / 0.822 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5197, allocations: 13.84 kB / 0.822 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.52, allocations: 72.41 kB / 0.8221 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.97e-05/0.52, allocations: 107.5 kB / 0.8222 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5201, allocations: 1.438 kB / 0.8222 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.5201, allocations: 6.922 kB / 0.8222 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.5203, allocations: 105.7 kB / 0.8223 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5203, allocations: 3.938 kB / 0.8223 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.5203, allocations: 0.7188 kB / 0.8223 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5203, allocations: 4.719 kB / 0.8223 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.5204, allocations: 67.03 kB / 0.8223 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.5206, allocations: 113.7 kB / 0.8225 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.5209, allocations: 117.1 kB / 0.8226 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.329e-05/0.521, allocations: 46.66 kB / 0.8226 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.5213, allocations: 79.16 kB / 0.8227 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.5213, allocations: 36.48 kB / 0.8227 GB, free: 15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5213, allocations: 0 / 0.8227 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0007493/0.5221, allocations: 333.6 kB / 0.823 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.5221, allocations: 56.47 kB / 0.8231 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.926e-05/0.5221, allocations: 99 kB / 0.8232 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.5221, allocations: 25.7 kB / 0.8232 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.5222, allocations: 86.09 kB / 0.8233 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.5222, allocations: 15.91 kB / 0.8233 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.5222, allocations: 21.09 kB / 0.8233 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.5223, allocations: 313.5 kB / 0.8236 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.5224, allocations: 38.12 kB / 0.8237 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/0.5225, allocations: 34.84 kB / 0.8237 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.5227, allocations: 79.05 kB / 0.8238 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5227, allocations: 1.25 kB / 0.8238 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002039/0.5229, allocations: 115.6 kB / 0.8239 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5229, allocations: 10.2 kB / 0.8239 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5229, allocations: 0 / 0.8239 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5229, allocations: 1.062 kB / 0.8239 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.523, allocations: 26.83 kB / 0.8239 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.523, allocations: 0 / 0.8239 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.523, allocations: 15.92 kB / 0.8239 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.523, allocations: 2.719 kB / 0.8239 GB, free: 14.08 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 (6): * Single equations (assignments): 6 * 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 5.35e-05/0.5231, allocations: 109.4 kB / 0.824 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.5231, allocations: 9.891 kB / 0.824 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.5234, allocations: 144.9 kB / 0.8242 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5234, allocations: 0.6094 kB / 0.8242 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5234, allocations: 5.469 kB / 0.8242 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5234, allocations: 0.6094 kB / 0.8242 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.346e-05/0.5235, allocations: 108.5 kB / 0.8243 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5235, allocations: 0 / 0.8243 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.5235, allocations: 22.22 kB / 0.8243 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5235, allocations: 1.516 kB / 0.8243 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5235, allocations: 9.719 kB / 0.8243 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5236, allocations: 0 / 0.8243 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5236, allocations: 2.297 kB / 0.8243 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.5239, allocations: 181.5 kB / 0.8245 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.5239, allocations: 14.55 kB / 0.8245 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.5239, allocations: 9.641 kB / 0.8245 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.537e-05/0.524, allocations: 16.48 kB / 0.8245 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.524, allocations: 5.25 kB / 0.8245 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.524, allocations: 11.66 kB / 0.8246 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.524, allocations: 77.14 kB / 0.8246 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.524, allocations: 1.594 kB / 0.8246 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001637/0.5242, allocations: 29.84 kB / 0.8247 GB, free: 13.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001505/0.5244, allocations: 127.4 kB / 0.8248 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.5246, allocations: 80.67 kB / 0.8249 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5246, allocations: 1.062 kB / 0.8249 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.5247, allocations: 48.61 kB / 0.8249 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.5248, allocations: 2.688 kB / 0.8249 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.5252, allocations: 212.5 kB / 0.8251 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.5252, allocations: 63.34 kB / 0.8252 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.5253, allocations: 13.06 kB / 0.8252 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/0.5253, allocations: 1.438 kB / 0.8252 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.002407/0.5277, allocations: 1.142 MB / 0.8263 GB, free: 13.09 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.6334844012744725] Failed to read output from testmodel.py, exit status != 0: 0.5328859519213438 0.543488634 0.022212429000000002 Calling exit ...