Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005002/0.005002, allocations: 183.3 kB / 7.456 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7228/0.7228, allocations: 130.6 MB / 138.5 MB, free: 2.164 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.3 MB / 391.4 MB, free: 13.03 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.0008679/0.0008678, allocations: 105.2 kB / 473.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.267e-06, allocations: 0.9375 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5645, allocations: 111 MB / 0.736 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5648, allocations: 82.69 kB / 0.7361 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01795/0.5828, allocations: 3.792 MB / 0.7398 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.5829, allocations: 7.812 kB / 0.7398 GB, free: 11.3 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.0005706/0.5835, allocations: 360.5 kB / 0.7401 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.5835, allocations: 11.56 kB / 0.7401 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000623/0.5842, allocations: 80.06 kB / 0.7402 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5843, allocations: 160.4 kB / 0.7404 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.5844, allocations: 0 / 0.7404 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.5844, allocations: 3.906 kB / 0.7404 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001247/0.5845, allocations: 21.64 kB / 0.7404 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5847, allocations: 51.02 kB / 0.7404 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5847, allocations: 4 kB / 0.7405 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.5848, allocations: 3.938 kB / 0.7405 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5848, allocations: 0 / 0.7405 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.585, allocations: 141.8 kB / 0.7406 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.5853, allocations: 49.17 kB / 0.7406 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.5854, allocations: 24.98 kB / 0.7407 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.5856, allocations: 82.16 kB / 0.7407 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.5856, allocations: 39 kB / 0.7408 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.5856, allocations: 7.953 kB / 0.7408 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.001987/0.5876, allocations: 439.9 kB / 0.7412 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.5877, allocations: 56.16 kB / 0.7413 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.5878, allocations: 85 kB / 0.7413 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5878, allocations: 29.58 kB / 0.7414 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.5878, allocations: 80.14 kB / 0.7414 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.5879, allocations: 20.48 kB / 0.7415 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.5879, allocations: 0 / 0.7415 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.588, allocations: 316.4 kB / 0.7418 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.5881, allocations: 16.2 kB / 0.7418 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/0.5882, allocations: 12.44 kB / 0.7418 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.5887, allocations: 67.33 kB / 0.7419 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5887, allocations: 0 / 0.7419 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006262/0.5893, allocations: 131.1 kB / 0.742 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5893, allocations: 7.812 kB / 0.742 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5894, allocations: 0 / 0.742 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5894, allocations: 0 / 0.742 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.5897, allocations: 34.3 kB / 0.742 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.5897, allocations: 0 / 0.742 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.5899, allocations: 20.33 kB / 0.742 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5899, allocations: 0 / 0.742 GB, free: 25.43 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 0.0001171/0.59, allocations: 106.5 kB / 0.7421 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.5901, allocations: 3.906 kB / 0.7421 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007994/0.5909, allocations: 145.5 kB / 0.7423 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5909, allocations: 3.812 kB / 0.7423 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5909, allocations: 4.062 kB / 0.7423 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5909, allocations: 0 / 0.7423 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.5911, allocations: 146.8 kB / 0.7424 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5911, allocations: 1.359 kB / 0.7424 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.5914, allocations: 28.81 kB / 0.7425 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.5914, allocations: 3.875 kB / 0.7425 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.5915, allocations: 1.453 kB / 0.7425 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5915, allocations: 0 / 0.7425 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5915, allocations: 0 / 0.7425 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000745/0.5922, allocations: 176.8 kB / 0.7426 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.5924, allocations: 82.03 kB / 0.7427 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.5924, allocations: 3.844 kB / 0.7427 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.5926, allocations: 25.23 kB / 0.7427 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.5927, allocations: 1.734 kB / 0.7427 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.5927, allocations: 7.438 kB / 0.7428 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.827e-05/0.5927, allocations: 79.22 kB / 0.7428 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004178/0.5932, allocations: 42.3 kB / 0.7429 GB, free: 24.84 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.0002894/0.5935, allocations: 141.2 kB / 0.743 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.5937, allocations: 32.38 kB / 0.743 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5937, allocations: 0 / 0.743 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.5938, allocations: 27.12 kB / 0.7431 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.5939, allocations: 0 / 0.7431 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.5947, allocations: 138 kB / 0.7432 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.5951, allocations: 0.7019 MB / 0.7439 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of SimCode: time 3.8e-07/0.5951, allocations: 7.969 kB / 0.7439 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.004872/0.6, allocations: 1.299 MB / 0.7452 GB, free: 23.84 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)