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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002895/0.002895, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.131/1.131, allocations: 177.9 MB / 484.2 MB, free: 5.367 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 60.22 kB / 0.674 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6671/0.6691, allocations: 95.17 MB / 0.767 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001771/0.6709, allocations: 0.6105 MB / 0.7676 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.6728, allocations: 1.468 MB / 0.769 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.6728, allocations: 3.938 kB / 0.769 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.6728, allocations: 0 / 0.769 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.6729, allocations: 1 kB / 0.769 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.6734, allocations: 141.8 kB / 0.7691 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.441e-05/0.6734, allocations: 26.92 kB / 0.7692 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.6735, allocations: 5.781 kB / 0.7692 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.6735, allocations: 13.39 kB / 0.7692 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.6736, allocations: 35.19 kB / 0.7692 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.6736, allocations: 1.344 kB / 0.7692 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.6741, allocations: 318.5 kB / 0.7695 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.6741, allocations: 12.11 kB / 0.7695 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.6742, allocations: 13.52 kB / 0.7695 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.6745, allocations: 189.1 kB / 0.7697 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6745, allocations: 0 / 0.7697 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6745, allocations: 0 / 0.7697 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6745, allocations: 1.062 kB / 0.7697 GB, free: 6.613 MB / 0.5762 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.0005093/0.675, allocations: 298.9 kB / 0.77 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.675, allocations: 10 kB / 0.77 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005152/0.6755, allocations: 65.17 kB / 0.7701 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.6756, allocations: 114 kB / 0.7702 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.6757, allocations: 1.531 kB / 0.7702 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.6757, allocations: 1.562 kB / 0.7702 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.676, allocations: 80.22 kB / 0.7703 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.676, allocations: 0 / 0.7703 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.676, allocations: 4.547 kB / 0.7703 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.676, allocations: 2.859 kB / 0.7703 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.6763, allocations: 68.09 kB / 0.7703 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.6765, allocations: 137.4 kB / 0.7705 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.6771, allocations: 114.9 kB / 0.7706 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.6773, allocations: 47.86 kB / 0.7706 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.6777, allocations: 72.19 kB / 0.7707 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.6778, allocations: 42.95 kB / 0.7707 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.6778, allocations: 0 / 0.7707 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001187/0.6789, allocations: 328 kB / 0.771 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.679, allocations: 56.44 kB / 0.7711 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.679, allocations: 95.97 kB / 0.7712 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.679, allocations: 25.7 kB / 0.7712 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.451e-05/0.6791, allocations: 85.3 kB / 0.7713 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.6791, allocations: 17.48 kB / 0.7713 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.6791, allocations: 21.88 kB / 0.7713 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.6792, allocations: 319.1 kB / 0.7716 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.6794, allocations: 40.22 kB / 0.7717 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.6795, allocations: 35.98 kB / 0.7717 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.6798, allocations: 77.94 kB / 0.7718 GB, free: 5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.6798, allocations: 0 / 0.7718 GB, free: 5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003747/0.6802, allocations: 115 kB / 0.7719 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6802, allocations: 5.031 kB / 0.7719 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6802, allocations: 3.938 kB / 0.7719 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.6803, allocations: 5.281 kB / 0.7719 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.6804, allocations: 25.36 kB / 0.7719 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6804, allocations: 1.156 kB / 0.7719 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.6805, allocations: 10.3 kB / 0.7719 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.6805, allocations: 3.391 kB / 0.7719 GB, free: 4.941 MB / 0.5762 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.786e-05/0.6806, allocations: 114.5 kB / 0.7721 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.6806, allocations: 10.23 kB / 0.7721 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/0.6811, allocations: 139.8 kB / 0.7722 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6811, allocations: 0.8438 kB / 0.7722 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6811, allocations: 0.9062 kB / 0.7722 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6811, allocations: 4 kB / 0.7722 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.6812, allocations: 138.1 kB / 0.7723 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6812, allocations: 0.75 kB / 0.7723 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.6814, allocations: 26.61 kB / 0.7724 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.6814, allocations: 0 / 0.7724 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.6814, allocations: 5.656 kB / 0.7724 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6814, allocations: 0 / 0.7724 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6814, allocations: 1.703 kB / 0.7724 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.682, allocations: 181.7 kB / 0.7725 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.682, allocations: 15.14 kB / 0.7726 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.6821, allocations: 4.75 kB / 0.7726 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6822, allocations: 14.61 kB / 0.7726 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.6822, allocations: 6.281 kB / 0.7726 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.6822, allocations: 8.047 kB / 0.7726 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.004e-05/0.6823, allocations: 77.16 kB / 0.7727 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6823, allocations: 0 / 0.7727 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002553/0.6825, allocations: 37.12 kB / 0.7727 GB, free: 4.383 MB / 0.5762 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.0002018/0.6827, allocations: 123.3 kB / 0.7728 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.6831, allocations: 80.7 kB / 0.7729 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6831, allocations: 0 / 0.7729 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.6833, allocations: 53.09 kB / 0.7729 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.6835, allocations: 8.562 kB / 0.773 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.6841, allocations: 191.2 kB / 0.7731 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.6842, allocations: 0.6744 MB / 0.7738 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.864e-05/0.6843, allocations: 21.81 kB / 0.7738 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.6844, allocations: 11.41 kB / 0.7738 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.6844, allocations: 0 / 0.7738 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of Templates: time 0.004461/0.6888, allocations: 1.192 MB / 0.775 GB, free: 3.277 MB / 0.5762 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.731596052646637] Failed to read output from testmodel.py, exit status != 0: 0.69709169305861 0.713027687 0.034752288 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3d8be0d7b0>