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-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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7241/0.7241, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.574/1.574, allocations: 221.3 MB / 400.4 MB, free: 5.801 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.0009877/0.0009879, allocations: 108 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.928e-05/4.939e-05, allocations: 5.312 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1643, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6042/0.7686, allocations: 112 MB / 0.7499 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.7689, allocations: 81.05 kB / 0.75 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01208/0.781, allocations: 4.104 MB / 0.754 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.203e-06/0.781, allocations: 4 kB / 0.754 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.781, allocations: 0 / 0.754 GB, free: 27.3 MB / 0.5105 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.0004728/0.7815, allocations: 370 kB / 0.7543 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7816, allocations: 11.69 kB / 0.7543 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.7816, allocations: 30.56 kB / 0.7544 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.782, allocations: 66 kB / 0.7544 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.7822, allocations: 166.9 kB / 0.7546 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.7822, allocations: 4.625 kB / 0.7546 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.7823, allocations: 11.92 kB / 0.7546 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.7824, allocations: 51.47 kB / 0.7547 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7824, allocations: 0 / 0.7547 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.7825, allocations: 0 / 0.7547 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.7825, allocations: 3.844 kB / 0.7547 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.7826, allocations: 17.28 kB / 0.7547 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.7828, allocations: 171.6 kB / 0.7548 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.7831, allocations: 61.97 kB / 0.7549 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.7831, allocations: 20.97 kB / 0.7549 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.7832, allocations: 7.719 kB / 0.7549 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.7832, allocations: 34.88 kB / 0.755 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.7832, allocations: 0 / 0.755 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0005685/0.7838, allocations: 276.5 kB / 0.7552 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.7838, allocations: 59.31 kB / 0.7553 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.7839, allocations: 87.67 kB / 0.7554 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.7839, allocations: 29.61 kB / 0.7554 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.784, allocations: 83.89 kB / 0.7555 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.784, allocations: 11.75 kB / 0.7555 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.784, allocations: 3.938 kB / 0.7555 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.7842, allocations: 324.9 kB / 0.7558 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.7842, allocations: 11.5 kB / 0.7558 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.7842, allocations: 19.53 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.7843, allocations: 14.38 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.7843, allocations: 0 / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001235/0.7844, allocations: 70.56 kB / 0.7559 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7844, allocations: 10.77 kB / 0.7559 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.7845, allocations: 0 / 0.7559 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.7845, allocations: 3.938 kB / 0.7559 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.7846, allocations: 29.64 kB / 0.756 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7846, allocations: 0 / 0.756 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.7847, allocations: 14.47 kB / 0.756 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.7848, allocations: 3.562 kB / 0.756 GB, free: 25.46 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 7.838e-05/0.7848, allocations: 112 kB / 0.7561 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.7849, allocations: 0 / 0.7561 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.7851, allocations: 90.23 kB / 0.7562 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7851, allocations: 0 / 0.7562 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7851, allocations: 0 / 0.7562 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7851, allocations: 4 kB / 0.7562 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.7852, allocations: 172 kB / 0.7563 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7853, allocations: 0 / 0.7563 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.7854, allocations: 24.44 kB / 0.7564 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7854, allocations: 2.578 kB / 0.7564 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.7854, allocations: 3.875 kB / 0.7564 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7854, allocations: 0 / 0.7564 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7855, allocations: 0 / 0.7564 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.7857, allocations: 125.4 kB / 0.7565 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.7858, allocations: 91.84 kB / 0.7566 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.7858, allocations: 3.625 kB / 0.7566 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.7859, allocations: 21.59 kB / 0.7566 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.7859, allocations: 3.906 kB / 0.7566 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.786, allocations: 6.594 kB / 0.7566 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.786, allocations: 79.19 kB / 0.7567 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.786, allocations: 0 / 0.7567 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000228/0.7862, allocations: 42.75 kB / 0.7567 GB, free: 24.83 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.0005337/0.7868, allocations: 0.6984 MB / 0.7574 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.7869, allocations: 37.81 kB / 0.7574 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7869, allocations: 3.938 kB / 0.7574 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.787, allocations: 25.44 kB / 0.7575 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.7871, allocations: 3.875 kB / 0.7575 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.7876, allocations: 185.1 kB / 0.7576 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.7879, allocations: 0.683 MB / 0.7583 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.788, allocations: 15.72 kB / 0.7583 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.7881, allocations: 17.59 kB / 0.7583 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.7881, allocations: 0 / 0.7583 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.8009, allocations: 1.799 MB / 0.7601 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.8011, allocations: 162.8 kB / 0.7603 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.286, allocations: 6.25 kB / 0.7603 GB, free: 22.71 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)