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.001364/0.001364, 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.00185/0.00185, 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.485/1.485, 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.243/1.243, 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.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.002119/0.002119, allocations: 64.19 kB / 0.7187 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6495/0.6516, allocations: 102 MB / 0.8183 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002015/0.6536, allocations: 0.6135 MB / 0.8189 GB, free: 28.51 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.6554, allocations: 1.428 MB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.6555, allocations: 0 / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.6555, allocations: 1.281 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.6555, allocations: 0.8125 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.656, allocations: 150.1 kB / 0.8204 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.91e-05/0.6561, allocations: 33.02 kB / 0.8205 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.6562, allocations: 2.25 kB / 0.8205 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.6562, allocations: 18.2 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.6563, allocations: 23.39 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.6563, allocations: 2.5 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.6568, allocations: 252.7 kB / 0.8208 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.6568, allocations: 13.47 kB / 0.8208 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.6568, allocations: 7.531 kB / 0.8208 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.6572, allocations: 173.4 kB / 0.8209 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6572, allocations: 2.797 kB / 0.8209 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6572, allocations: 0 / 0.8209 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6572, allocations: 0 / 0.8209 GB, free: 27.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005123/0.6577, allocations: 294.9 kB / 0.8212 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6577, allocations: 11.28 kB / 0.8212 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005052/0.6582, allocations: 70.42 kB / 0.8213 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.334e-05/0.6583, allocations: 108.8 kB / 0.8214 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.6583, allocations: 1.469 kB / 0.8214 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.6584, allocations: 2.5 kB / 0.8214 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.6587, allocations: 106.2 kB / 0.8215 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6587, allocations: 4.25 kB / 0.8215 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.6587, allocations: 0.7188 kB / 0.8215 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6587, allocations: 4.438 kB / 0.8215 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.659, allocations: 63.25 kB / 0.8216 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.6592, allocations: 116 kB / 0.8217 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.6599, allocations: 118.7 kB / 0.8218 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.66, allocations: 46.12 kB / 0.8218 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005355/0.6606, allocations: 78.48 kB / 0.8219 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6606, allocations: 36.58 kB / 0.822 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6606, allocations: 0 / 0.822 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5): time 0.001334/0.6619, allocations: 334.9 kB / 0.8223 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.662, allocations: 52.66 kB / 0.8223 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.662, allocations: 94.83 kB / 0.8224 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.662, allocations: 25.7 kB / 0.8224 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.6621, allocations: 88.27 kB / 0.8225 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.6621, allocations: 17.03 kB / 0.8225 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.6622, allocations: 20.69 kB / 0.8226 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.6622, allocations: 314.1 kB / 0.8229 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.6624, allocations: 34.02 kB / 0.8229 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.6626, allocations: 43.34 kB / 0.8229 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.6629, allocations: 78.69 kB / 0.823 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6629, allocations: 0.6094 kB / 0.823 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003784/0.6633, allocations: 116.1 kB / 0.8231 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6633, allocations: 9.562 kB / 0.8231 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6633, allocations: 0.7969 kB / 0.8231 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.6633, allocations: 0 / 0.8231 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.6635, allocations: 23.31 kB / 0.8232 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6635, allocations: 0 / 0.8232 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.6636, allocations: 15.83 kB / 0.8232 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.6636, allocations: 10.92 kB / 0.8232 GB, free: 25.67 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 (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 7.375e-05/0.6637, allocations: 109.6 kB / 0.8233 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.6637, allocations: 5.703 kB / 0.8233 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.6642, allocations: 137.5 kB / 0.8234 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6642, allocations: 1.453 kB / 0.8234 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6642, allocations: 5.344 kB / 0.8234 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6642, allocations: 0.6562 kB / 0.8234 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.6644, allocations: 116.3 kB / 0.8235 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6644, allocations: 3.984 kB / 0.8235 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.6645, allocations: 23.5 kB / 0.8236 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6645, allocations: 0 / 0.8236 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.6646, allocations: 6.781 kB / 0.8236 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6646, allocations: 4.516 kB / 0.8236 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6646, allocations: 0 / 0.8236 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.6652, allocations: 190.9 kB / 0.8238 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.6652, allocations: 11.22 kB / 0.8238 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.6652, allocations: 4.594 kB / 0.8238 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.6654, allocations: 13.64 kB / 0.8238 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.6654, allocations: 7.938 kB / 0.8238 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6654, allocations: 3.484 kB / 0.8238 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.704e-05/0.6654, allocations: 82.73 kB / 0.8239 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5e-08/0.6654, allocations: 0 / 0.8239 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002605/0.6657, allocations: 29.53 kB / 0.8239 GB, free: 25.15 MB / 0.6387 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.0002/0.6659, allocations: 128.1 kB / 0.824 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.6663, allocations: 90 kB / 0.8241 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6663, allocations: 0 / 0.8241 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.6665, allocations: 41.3 kB / 0.8242 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.6666, allocations: 2.141 kB / 0.8242 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.6673, allocations: 184.7 kB / 0.8243 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.6673, allocations: 66.7 kB / 0.8244 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.725e-05/0.6674, allocations: 15.06 kB / 0.8244 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.6675, allocations: 17.27 kB / 0.8244 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.6675, allocations: 0 / 0.8244 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.004151/0.6716, allocations: 1.179 MB / 0.8256 GB, free: 24.68 MB / 0.6387 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 sys.exit(0), Time elapsed: 6.836432334035635] Failed to read output from testmodel.py, exit status != 0: 0.6801722310483456 0.6924873690000001 0.032551826 Calling exit ...