Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2868/0.2868, allocations: 54.39 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001092/0.001092, allocations: 187.4 kB / 75.37 MB, free: 1.512 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.258/1.258, allocations: 194.2 MB / 283.2 MB, free: 3.547 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 114.5 kB / 341.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.297e-06, allocations: 4 kB / 405 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 57.65 MB / 462.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.5362, allocations: 85.35 MB / 0.5351 GB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.5367, allocations: 73.67 kB / 0.5352 GB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01334/0.55, allocations: 3.699 MB / 0.5388 GB, free: 8.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.5501, allocations: 4 kB / 0.5388 GB, free: 8.582 MB / 378.7 MB 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.0004721/0.5506, allocations: 358.4 kB / 0.5391 GB, free: 8.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.5506, allocations: 11.97 kB / 0.5392 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.5511, allocations: 71.92 kB / 0.5392 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.5513, allocations: 167 kB / 0.5394 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.5513, allocations: 0 / 0.5394 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.5513, allocations: 3.906 kB / 0.5394 GB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.889e-05/0.5514, allocations: 26.86 kB / 0.5394 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.5516, allocations: 45.66 kB / 0.5395 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5516, allocations: 0 / 0.5395 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.5516, allocations: 4 kB / 0.5395 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5516, allocations: 0 / 0.5395 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.5518, allocations: 144.5 kB / 0.5396 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.5521, allocations: 52.86 kB / 0.5396 GB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.5522, allocations: 27.33 kB / 0.5397 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.5523, allocations: 85.19 kB / 0.5398 GB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.5524, allocations: 38.56 kB / 0.5398 GB, free: 7.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.5524, allocations: 3.938 kB / 0.5398 GB, free: 7.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001266/0.5537, allocations: 400.2 kB / 0.5402 GB, free: 6.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.5537, allocations: 51.41 kB / 0.5402 GB, free: 6.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.5538, allocations: 89 kB / 0.5403 GB, free: 6.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.5538, allocations: 25.7 kB / 0.5403 GB, free: 6.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.5539, allocations: 84.27 kB / 0.5404 GB, free: 6.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.5539, allocations: 14.12 kB / 0.5404 GB, free: 6.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.5539, allocations: 0 / 0.5404 GB, free: 6.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5541, allocations: 317.3 kB / 0.5407 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.5541, allocations: 10.69 kB / 0.5407 GB, free: 6.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.5542, allocations: 11.69 kB / 0.5407 GB, free: 6.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.5544, allocations: 56.36 kB / 0.5408 GB, free: 6.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5545, allocations: 0 / 0.5408 GB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003418/0.5548, allocations: 106.4 kB / 0.5409 GB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5548, allocations: 4 kB / 0.5409 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5548, allocations: 0 / 0.5409 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5549, allocations: 0 / 0.5409 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.5551, allocations: 36.47 kB / 0.5409 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5551, allocations: 0 / 0.5409 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.5552, allocations: 19.98 kB / 0.541 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.5552, allocations: 4.5 kB / 0.541 GB, free: 6.164 MB / 378.7 MB 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 9.929e-05/0.5554, allocations: 105.5 kB / 0.5411 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.5554, allocations: 0 / 0.5411 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.5558, allocations: 135.1 kB / 0.5412 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5559, allocations: 4 kB / 0.5412 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5559, allocations: 0 / 0.5412 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5559, allocations: 0 / 0.5412 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.556, allocations: 142.8 kB / 0.5413 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5561, allocations: 7.922 kB / 0.5413 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.5562, allocations: 28.61 kB / 0.5414 GB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5563, allocations: 0 / 0.5414 GB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5563, allocations: 4.312 kB / 0.5414 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5563, allocations: 0 / 0.5414 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.5563, allocations: 4.859 kB / 0.5414 GB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004578/0.5568, allocations: 164.6 kB / 0.5415 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.5569, allocations: 85.09 kB / 0.5416 GB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.5569, allocations: 3.906 kB / 0.5416 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.557, allocations: 24.03 kB / 0.5416 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.5571, allocations: 0 / 0.5416 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.5571, allocations: 4 kB / 0.5416 GB, free: 5.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.541e-05/0.5571, allocations: 75.28 kB / 0.5417 GB, free: 5.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.5574, allocations: 47.86 kB / 0.5418 GB, free: 5.293 MB / 378.7 MB 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.0002665/0.5577, allocations: 143.2 kB / 0.5419 GB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.5578, allocations: 32.09 kB / 0.5419 GB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5578, allocations: 4 kB / 0.5419 GB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.5579, allocations: 27.92 kB / 0.542 GB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.558, allocations: 0 / 0.542 GB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.5586, allocations: 140.9 kB / 0.5421 GB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.559, allocations: 0.7075 MB / 0.5428 GB, free: 4.188 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.559, allocations: 0 / 0.5428 GB, free: 4.188 MB / 378.7 MB Notification: Performance of Templates: time 0.004461/0.5635, allocations: 1.31 MB / 0.5441 GB, free: 2.879 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)