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.00804/0.00804, allocations: 170.7 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.7713/0.7713, allocations: 135.2 MB / 151 MB, free: 13.81 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.418/1.418, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001169/0.001169, allocations: 90.31 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3661, allocations: 82.3 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.5092, allocations: 112.1 MB / 0.759 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5095, allocations: 79.95 kB / 0.7591 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01301/0.5225, allocations: 4.133 MB / 0.7631 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5226, allocations: 0 / 0.7631 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.5226, allocations: 0 / 0.7631 GB, free: 15.65 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.0004757/0.5231, allocations: 375.1 kB / 0.7634 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5231, allocations: 8.031 kB / 0.7635 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.5232, allocations: 34.5 kB / 0.7635 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.5236, allocations: 63.92 kB / 0.7635 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.5237, allocations: 175 kB / 0.7637 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5237, allocations: 4 kB / 0.7637 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.5238, allocations: 0 / 0.7637 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.524, allocations: 85.61 kB / 0.7638 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5241, allocations: 4 kB / 0.7638 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5241, allocations: 0 / 0.7638 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5241, allocations: 0 / 0.7638 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.5244, allocations: 75.94 kB / 0.7639 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.5246, allocations: 173.6 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.5252, allocations: 142.5 kB / 0.7642 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.5253, allocations: 8 kB / 0.7642 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.5253, allocations: 35.09 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5253, allocations: 4 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.001159/0.5265, allocations: 434.2 kB / 0.7646 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.5265, allocations: 55.41 kB / 0.7647 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.5266, allocations: 92.98 kB / 0.7648 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.5266, allocations: 25.7 kB / 0.7648 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.5266, allocations: 80.14 kB / 0.7649 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.5267, allocations: 19.75 kB / 0.7649 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.5267, allocations: 0 / 0.7649 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5268, allocations: 315 kB / 0.7652 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.527, allocations: 43.95 kB / 0.7652 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.5271, allocations: 47.91 kB / 0.7653 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.5273, allocations: 47.92 kB / 0.7653 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.5273, allocations: 3.938 kB / 0.7653 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003703/0.5277, allocations: 125.5 kB / 0.7655 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5277, allocations: 7.984 kB / 0.7655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5277, allocations: 0 / 0.7655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5277, allocations: 0 / 0.7655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.5279, allocations: 27.98 kB / 0.7655 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.5279, allocations: 0 / 0.7655 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.528, allocations: 15.98 kB / 0.7655 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.528, allocations: 3.938 kB / 0.7655 GB, free: 12.91 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 8.651e-05/0.5281, allocations: 125.7 kB / 0.7656 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.5281, allocations: 0 / 0.7656 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.5286, allocations: 145.2 kB / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5286, allocations: 4 kB / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5286, allocations: 4 kB / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5286, allocations: 0 / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.5288, allocations: 169.6 kB / 0.7659 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5288, allocations: 0 / 0.7659 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.529, allocations: 23.98 kB / 0.766 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.529, allocations: 0 / 0.766 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.529, allocations: 320 / 0.766 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.529, allocations: 8 kB / 0.766 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.529, allocations: 4 kB / 0.766 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.5296, allocations: 212.9 kB / 0.7662 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.5297, allocations: 85.05 kB / 0.7663 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.5297, allocations: 4.031 kB / 0.7663 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5298, allocations: 11.98 kB / 0.7663 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.5299, allocations: 7.984 kB / 0.7663 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5299, allocations: 4 kB / 0.7663 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.96e-05/0.5299, allocations: 83.34 kB / 0.7664 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5299, allocations: 0 / 0.7664 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000275/0.5302, allocations: 39.94 kB / 0.7664 GB, free: 11.89 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.0009901/0.5312, allocations: 0.788 MB / 0.7672 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.5316, allocations: 91.98 kB / 0.7673 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5316, allocations: 0 / 0.7673 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.5318, allocations: 59.91 kB / 0.7673 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.5319, allocations: 7.922 kB / 0.7673 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.5332, allocations: 0.565 MB / 0.7679 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.5336, allocations: 0.6809 MB / 0.7685 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.5337, allocations: 23.95 kB / 0.7686 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.5338, allocations: 11.44 kB / 0.7686 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of SimCode: time 4.61e-07/0.5338, allocations: 0 / 0.7686 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.5467, allocations: 1.785 MB / 0.7703 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.547, allocations: 185.2 kB / 0.7705 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.075, allocations: 4 kB / 0.7705 GB, free: 7.664 MB / 0.5417 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)