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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005924/0.005924, allocations: 101.8 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195.9 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7712/0.7712, allocations: 132.2 MB / 422.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.95 kB / 0.5809 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00184/0.1441, allocations: 0.5954 MB / 0.6598 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1461, allocations: 1.461 MB / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.1462, allocations: 0 / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.1462, allocations: 3.938 kB / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.1463, allocations: 0 / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.1469, allocations: 139.4 kB / 0.6614 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.147, allocations: 31.91 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.147, allocations: 7.938 kB / 0.6614 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.1471, allocations: 15.98 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.1472, allocations: 27.95 kB / 0.6615 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1472, allocations: 3.938 kB / 0.6615 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.1477, allocations: 311.4 kB / 0.6618 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.1477, allocations: 11.97 kB / 0.6618 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.1478, allocations: 7.984 kB / 0.6618 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.1481, allocations: 191.6 kB / 0.662 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1481, allocations: 4 kB / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1481, allocations: 4 kB / 0.662 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.1482, allocations: 0 / 0.662 GB, free: 7.91 MB / 0.4981 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.0006886/0.1489, allocations: 362.3 kB / 0.6623 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1489, allocations: 8.031 kB / 0.6623 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.149, allocations: 38.73 kB / 0.6624 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.1495, allocations: 64.77 kB / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.1496, allocations: 168.4 kB / 0.6626 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.1497, allocations: 4.375 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1497, allocations: 4.312 kB / 0.6626 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.15, allocations: 77.77 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.15, allocations: 0 / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.15, allocations: 0 / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.15, allocations: 4 kB / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.1503, allocations: 67.86 kB / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1505, allocations: 165.7 kB / 0.6629 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.1511, allocations: 118.5 kB / 0.663 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1513, allocations: 44.91 kB / 0.663 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/0.1517, allocations: 157 kB / 0.6632 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1518, allocations: 34.5 kB / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1518, allocations: 0 / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001177/0.153, allocations: 403.3 kB / 0.6636 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.153, allocations: 55.41 kB / 0.6637 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.1531, allocations: 101.8 kB / 0.6638 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1531, allocations: 25.7 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.1531, allocations: 84.27 kB / 0.6639 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1532, allocations: 19.75 kB / 0.6639 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.1532, allocations: 21.7 kB / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.1533, allocations: 310.8 kB / 0.6642 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1535, allocations: 35.97 kB / 0.6642 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1536, allocations: 39.95 kB / 0.6643 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.1539, allocations: 77 kB / 0.6643 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1539, allocations: 0 / 0.6643 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003375/0.1543, allocations: 125.5 kB / 0.6645 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1543, allocations: 9.656 kB / 0.6645 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1543, allocations: 0 / 0.6645 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1543, allocations: 0 / 0.6645 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1545, allocations: 27.91 kB / 0.6645 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1545, allocations: 4 kB / 0.6645 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.1546, allocations: 11.98 kB / 0.6645 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.1546, allocations: 8 kB / 0.6645 GB, free: 4.996 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.1547, allocations: 105.8 kB / 0.6646 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1547, allocations: 7.938 kB / 0.6646 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.1552, allocations: 137.1 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1552, allocations: 0 / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1552, allocations: 3.938 kB / 0.6648 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1552, allocations: 0 / 0.6648 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1554, allocations: 169.7 kB / 0.6649 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1554, allocations: 3.938 kB / 0.6649 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1555, allocations: 23.97 kB / 0.665 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1555, allocations: 4 kB / 0.665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1555, allocations: 0 / 0.665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1556, allocations: 4 kB / 0.665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1556, allocations: 0 / 0.665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.1561, allocations: 189.1 kB / 0.6651 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.1562, allocations: 92.97 kB / 0.6652 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1562, allocations: 0 / 0.6652 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1564, allocations: 16.05 kB / 0.6652 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.1564, allocations: 11.94 kB / 0.6653 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1564, allocations: 7.984 kB / 0.6653 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.1565, allocations: 75.28 kB / 0.6653 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1565, allocations: 0 / 0.6653 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002307/0.1567, allocations: 24 kB / 0.6654 GB, free: 4.027 MB / 0.4981 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 (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.0008886/0.1576, allocations: 0.7453 MB / 0.6661 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.158, allocations: 91.92 kB / 0.6662 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.158, allocations: 0 / 0.6662 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1582, allocations: 43.97 kB / 0.6662 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.1583, allocations: 2.234 kB / 0.6662 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1602, allocations: 1.364 MB / 0.6676 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.1604, allocations: 0.6846 MB / 0.6682 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.993e-05/0.1605, allocations: 23.94 kB / 0.6682 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.1606, allocations: 11.44 kB / 0.6683 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1606, allocations: 0 / 0.6683 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.1792, allocations: 2.075 MB / 0.6703 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.677, allocations: 11.14 kB / 0.6703 GB, free: 14.98 MB / 0.5137 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/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)