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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 180.5 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5917/0.5917, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007989/0.0007989, allocations: 89.84 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.514e-06, allocations: 2.5 kB / 0.5529 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 82.31 MB / 0.6332 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4597, allocations: 111.3 MB / 0.7419 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.46, allocations: 79.11 kB / 0.742 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01092/0.4709, allocations: 3.799 MB / 0.7457 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4709, allocations: 0 / 0.7457 GB, free: 10.52 MB / 0.4948 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.0003252/0.4713, allocations: 369.3 kB / 0.746 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.338e-05/0.4713, allocations: 7.656 kB / 0.746 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.4717, allocations: 74.02 kB / 0.7461 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.444e-05/0.4718, allocations: 160.7 kB / 0.7462 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4718, allocations: 4 kB / 0.7462 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4718, allocations: 3.844 kB / 0.7463 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.427e-05/0.4719, allocations: 20.95 kB / 0.7463 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.472, allocations: 54.61 kB / 0.7463 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-06/0.472, allocations: 3.984 kB / 0.7463 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.472, allocations: 0 / 0.7463 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-06/0.472, allocations: 0.7031 kB / 0.7463 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.4722, allocations: 139.5 kB / 0.7465 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.4724, allocations: 54.98 kB / 0.7465 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.4724, allocations: 21.08 kB / 0.7465 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-05/0.4725, allocations: 82.2 kB / 0.7466 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.4725, allocations: 39.34 kB / 0.7467 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4725, allocations: 0 / 0.7467 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.001188/0.4737, allocations: 441.3 kB / 0.7471 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.4738, allocations: 55.22 kB / 0.7471 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.272e-05/0.4738, allocations: 89.64 kB / 0.7472 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.4739, allocations: 25.7 kB / 0.7472 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.4739, allocations: 85.77 kB / 0.7473 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.4739, allocations: 20.62 kB / 0.7473 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.4739, allocations: 0 / 0.7473 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.474, allocations: 311.6 kB / 0.7476 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.4741, allocations: 11.88 kB / 0.7476 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.4741, allocations: 16.3 kB / 0.7477 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.4744, allocations: 69 kB / 0.7477 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4744, allocations: 0 / 0.7477 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003457/0.4747, allocations: 126.4 kB / 0.7478 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.4748, allocations: 3.875 kB / 0.7478 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4748, allocations: 8.375 kB / 0.7479 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.4748, allocations: 256 / 0.7479 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4749, allocations: 25.7 kB / 0.7479 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.4749, allocations: 11.92 kB / 0.7479 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.475, allocations: 19.78 kB / 0.7479 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4751, allocations: 4.719 kB / 0.7479 GB, free: 24.64 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/0.4751, allocations: 105.5 kB / 0.748 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.4752, allocations: 3.906 kB / 0.748 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.4756, allocations: 149.7 kB / 0.7482 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4756, allocations: 0.6094 kB / 0.7482 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4756, allocations: 4 kB / 0.7482 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4756, allocations: 0.6562 kB / 0.7482 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.4757, allocations: 147.8 kB / 0.7483 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4757, allocations: 0 / 0.7483 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.4759, allocations: 29.05 kB / 0.7483 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4759, allocations: 0.6094 kB / 0.7483 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4759, allocations: 4.75 kB / 0.7483 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4759, allocations: 0 / 0.7483 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4759, allocations: 0 / 0.7483 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000434/0.4764, allocations: 179.9 kB / 0.7485 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.4765, allocations: 84.42 kB / 0.7486 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.4765, allocations: 0.6094 kB / 0.7486 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4766, allocations: 20.28 kB / 0.7486 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.4766, allocations: 5.859 kB / 0.7486 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.4767, allocations: 4.719 kB / 0.7486 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.439e-05/0.4767, allocations: 79.12 kB / 0.7487 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002167/0.4769, allocations: 37.5 kB / 0.7487 GB, free: 24.04 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.4771, allocations: 141.1 kB / 0.7489 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.638e-05/0.4772, allocations: 38.86 kB / 0.7489 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4772, allocations: 0 / 0.7489 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.4773, allocations: 19.66 kB / 0.7489 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.849e-05/0.4774, allocations: 12.69 kB / 0.7489 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.4778, allocations: 135.6 kB / 0.7491 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.4781, allocations: 0.7029 MB / 0.7498 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of SimCode: time 1.512e-06/0.4781, allocations: 0 / 0.7498 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.003058/0.4812, allocations: 1.319 MB / 0.751 GB, free: 23.02 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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)