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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_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.006094/0.006094, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7786/0.7786, allocations: 135.2 MB / 151 MB, free: 13.86 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.611/1.611, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 100 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 12 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5083, allocations: 82.32 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.6691, allocations: 112.1 MB / 0.759 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6694, allocations: 75.95 kB / 0.7591 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.013/0.6824, allocations: 4.133 MB / 0.7631 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6825, allocations: 0 / 0.7631 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6825, allocations: 0 / 0.7631 GB, free: 15.67 MB / 0.5417 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.0004909/0.683, allocations: 382.9 kB / 0.7635 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.6831, allocations: 8.031 kB / 0.7635 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.6831, allocations: 30.56 kB / 0.7635 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.6835, allocations: 63.94 kB / 0.7636 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6836, allocations: 179 kB / 0.7637 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.6837, allocations: 0 / 0.7637 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.6837, allocations: 0 / 0.7637 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.684, allocations: 85.62 kB / 0.7638 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.684, allocations: 0 / 0.7638 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.684, allocations: 3.984 kB / 0.7638 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.684, allocations: 0 / 0.7638 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.6843, allocations: 75.94 kB / 0.7639 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.6845, allocations: 173.7 kB / 0.764 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.6851, allocations: 142.5 kB / 0.7642 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.617e-05/0.6852, allocations: 7.984 kB / 0.7642 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.6852, allocations: 35.09 kB / 0.7642 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.6853, allocations: 0 / 0.7642 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.001153/0.6864, allocations: 434.2 kB / 0.7646 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.6865, allocations: 51.41 kB / 0.7647 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.6866, allocations: 93 kB / 0.7648 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.6866, allocations: 25.83 kB / 0.7648 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.6866, allocations: 84.14 kB / 0.7649 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.6867, allocations: 23.73 kB / 0.7649 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.6867, allocations: 0 / 0.7649 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6868, allocations: 310.8 kB / 0.7652 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.687, allocations: 47.91 kB / 0.7652 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.6871, allocations: 43.95 kB / 0.7653 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.6873, allocations: 43.94 kB / 0.7653 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.6873, allocations: 3.938 kB / 0.7653 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003538/0.6876, allocations: 125.5 kB / 0.7655 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6877, allocations: 8 kB / 0.7655 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6877, allocations: 0 / 0.7655 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6877, allocations: 4 kB / 0.7655 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.6879, allocations: 31.91 kB / 0.7655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6879, allocations: 0 / 0.7655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.416e-05/0.688, allocations: 15.98 kB / 0.7655 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.688, allocations: 4 kB / 0.7655 GB, free: 12.93 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.855e-05/0.6881, allocations: 117.8 kB / 0.7656 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.6881, allocations: 0 / 0.7656 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.6886, allocations: 149.1 kB / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6886, allocations: 0 / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6886, allocations: 320 / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6886, allocations: 4 kB / 0.7658 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.6888, allocations: 169.6 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6888, allocations: 4 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.689, allocations: 31.97 kB / 0.766 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.689, allocations: 0 / 0.766 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.689, allocations: 0 / 0.766 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.689, allocations: 0 / 0.766 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.689, allocations: 4 kB / 0.766 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/0.6896, allocations: 212.9 kB / 0.7662 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6897, allocations: 85.05 kB / 0.7663 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.6898, allocations: 4.031 kB / 0.7663 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.6899, allocations: 16.05 kB / 0.7663 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.6899, allocations: 8 kB / 0.7663 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.6899, allocations: 8.312 kB / 0.7663 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.69, allocations: 75.28 kB / 0.7664 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.69, allocations: 0 / 0.7664 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002706/0.6903, allocations: 39.94 kB / 0.7664 GB, free: 11.91 MB / 0.5417 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 () * 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 (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.001025/0.6913, allocations: 0.7802 MB / 0.7672 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.6917, allocations: 104 kB / 0.7673 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6917, allocations: 3.938 kB / 0.7673 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.6919, allocations: 55.91 kB / 0.7673 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.692, allocations: 0 / 0.7673 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.6934, allocations: 0.5687 MB / 0.7679 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.6937, allocations: 0.6809 MB / 0.7685 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.6938, allocations: 23.95 kB / 0.7686 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.6939, allocations: 23.42 kB / 0.7686 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.6939, allocations: 0 / 0.7686 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.7097, allocations: 1.777 MB / 0.7703 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.7099, allocations: 189.8 kB / 0.7705 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.383, allocations: 0 / 0.7705 GB, free: 7.695 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)