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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8451/0.8451, allocations: 133.4 MB / 150.1 MB, free: 11.14 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.442/1.442, allocations: 222.9 MB / 404.7 MB, free: 6.059 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.001092/0.001092, allocations: 119.5 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 51.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1911, allocations: 80.43 MB / 0.6422 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002252/0.1934, allocations: 0.6582 MB / 0.6428 GB, free: 4.77 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.1959, allocations: 1.471 MB / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.1959, allocations: 0 / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.196, allocations: 0 / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.196, allocations: 0 / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.1966, allocations: 117 kB / 0.6443 GB, free: 3.168 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.1967, allocations: 27.97 kB / 0.6444 GB, free: 3.141 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.1967, allocations: 0 / 0.6444 GB, free: 3.141 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.1968, allocations: 23.92 kB / 0.6444 GB, free: 3.117 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.1969, allocations: 19.97 kB / 0.6444 GB, free: 3.098 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1969, allocations: 4 kB / 0.6444 GB, free: 3.094 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005942/0.1975, allocations: 323.3 kB / 0.6447 GB, free: 2.777 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.1975, allocations: 3.984 kB / 0.6447 GB, free: 2.773 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.1976, allocations: 15.92 kB / 0.6447 GB, free: 2.758 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.198, allocations: 187.6 kB / 0.6449 GB, free: 2.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.198, allocations: 0 / 0.6449 GB, free: 2.574 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.198, allocations: 0 / 0.6449 GB, free: 2.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.198, allocations: 0 / 0.6449 GB, free: 2.574 MB / 442.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.0006318/0.1986, allocations: 367.7 kB / 0.6453 GB, free: 2.168 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1987, allocations: 12.03 kB / 0.6453 GB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005928/0.1993, allocations: 68.84 kB / 0.6454 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1994, allocations: 160.4 kB / 0.6455 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1995, allocations: 8.359 kB / 0.6455 GB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.1995, allocations: 4.375 kB / 0.6455 GB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1999, allocations: 77.89 kB / 0.6456 GB, free: 1.801 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1999, allocations: 0 / 0.6456 GB, free: 1.801 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1999, allocations: 4 kB / 0.6456 GB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1999, allocations: 0 / 0.6456 GB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.2003, allocations: 67.92 kB / 0.6457 GB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.2006, allocations: 165.6 kB / 0.6458 GB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.2014, allocations: 126.5 kB / 0.6459 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.2016, allocations: 48.91 kB / 0.646 GB, free: 1.336 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005862/0.2022, allocations: 149 kB / 0.6461 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2023, allocations: 38.5 kB / 0.6462 GB, free: 1.125 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.2023, allocations: 0 / 0.6462 GB, free: 1.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.001523/0.2038, allocations: 402.2 kB / 0.6465 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.2039, allocations: 55.41 kB / 0.6466 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.204, allocations: 105.8 kB / 0.6467 GB, free: 0.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.204, allocations: 25.7 kB / 0.6467 GB, free: 480 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.204, allocations: 80.14 kB / 0.6468 GB, free: 396 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.2041, allocations: 19.66 kB / 0.6468 GB, free: 376 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.2042, allocations: 25.7 kB / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2043, allocations: 314.8 kB / 0.6471 GB, free: 20 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.2045, allocations: 36.23 kB / 0.6472 GB, free: 15.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.2048, allocations: 43.97 kB / 0.6472 GB, free: 15.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.2052, allocations: 76.8 kB / 0.6473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2052, allocations: 0 / 0.6473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005021/0.2057, allocations: 117.6 kB / 0.6474 GB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2058, allocations: 4 kB / 0.6474 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2058, allocations: 0 / 0.6474 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2058, allocations: 0 / 0.6474 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.206, allocations: 31.91 kB / 0.6474 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.206, allocations: 0 / 0.6474 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.2062, allocations: 11.98 kB / 0.6475 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2062, allocations: 4 kB / 0.6475 GB, free: 15.69 MB / 458.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 () * 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 9.099e-05/0.2063, allocations: 109.8 kB / 0.6476 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.2063, allocations: 7.938 kB / 0.6476 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006079/0.2069, allocations: 133.2 kB / 0.6477 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.207, allocations: 0 / 0.6477 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.207, allocations: 0 / 0.6477 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.207, allocations: 0 / 0.6477 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2072, allocations: 173.6 kB / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2072, allocations: 7.938 kB / 0.6479 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.2074, allocations: 31.84 kB / 0.6479 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2074, allocations: 0 / 0.6479 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2074, allocations: 256 / 0.6479 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.2075, allocations: 4 kB / 0.6479 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2075, allocations: 4 kB / 0.6479 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005457/0.2129, allocations: 1.407 MB / 0.6493 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.213, allocations: 89.5 kB / 0.6494 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2131, allocations: 3.938 kB / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.2132, allocations: 11.98 kB / 0.6494 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.2133, allocations: 8.094 kB / 0.6494 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.2133, allocations: 0 / 0.6494 GB, free: 13.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.2133, allocations: 83.27 kB / 0.6495 GB, free: 13.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2134, allocations: 0 / 0.6495 GB, free: 13.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.2138, allocations: 28 kB / 0.6495 GB, free: 13.38 MB / 458.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 () * 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.0002461/0.2141, allocations: 131.2 kB / 0.6496 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005005/0.2146, allocations: 91.95 kB / 0.6497 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2146, allocations: 0 / 0.6497 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.2149, allocations: 43.97 kB / 0.6498 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.2151, allocations: 3.984 kB / 0.6498 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.2159, allocations: 302 kB / 0.65 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2162, allocations: 0.6809 MB / 0.6507 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.2164, allocations: 16 kB / 0.6507 GB, free: 12.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.2165, allocations: 15.42 kB / 0.6507 GB, free: 12.03 MB / 458.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2165, allocations: 7.938 kB / 0.6507 GB, free: 12.02 MB / 458.7 MB Notification: Performance of Templates: time 0.004156/0.2207, allocations: 1.16 MB / 0.6519 GB, free: 10.86 MB / 458.7 MB 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)