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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 116.3 kB / 17.16 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 214.4 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9038/0.9038, allocations: 133.9 MB / 443.5 MB, free: 13.98 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 69.11 kB / 0.6141 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1407, allocations: 85.85 MB / 0.698 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001793/0.1424, allocations: 0.6007 MB / 0.6986 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1447, allocations: 1.509 MB / 0.7 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.1447, allocations: 6.062 kB / 0.7001 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1447, allocations: 0 / 0.7001 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.196e-05/0.1448, allocations: 0 / 0.7001 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.1453, allocations: 136.7 kB / 0.7002 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.1454, allocations: 36.78 kB / 0.7002 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.1455, allocations: 1.531 kB / 0.7002 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.627e-05/0.1455, allocations: 21.2 kB / 0.7002 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.1456, allocations: 21.12 kB / 0.7003 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1457, allocations: 6.922 kB / 0.7003 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.1462, allocations: 315.2 kB / 0.7006 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.1462, allocations: 6.734 kB / 0.7006 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.1462, allocations: 18.66 kB / 0.7006 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.1465, allocations: 191 kB / 0.7008 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1465, allocations: 0 / 0.7008 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1465, allocations: 4 kB / 0.7008 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.1465, allocations: 0 / 0.7008 GB, free: 11.51 MB / 0.5137 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.0006105/0.1471, allocations: 368.9 kB / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1472, allocations: 11.3 kB / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.404e-05/0.1472, allocations: 192 / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.1472, allocations: 32.12 kB / 0.7012 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/0.1477, allocations: 75.33 kB / 0.7012 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1478, allocations: 161.8 kB / 0.7014 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1479, allocations: 1.75 kB / 0.7014 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1479, allocations: 5.75 kB / 0.7014 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.1482, allocations: 86.19 kB / 0.7015 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1482, allocations: 0 / 0.7015 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1482, allocations: 0 / 0.7015 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1482, allocations: 1.375 kB / 0.7015 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.1485, allocations: 62.44 kB / 0.7015 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.1487, allocations: 169.9 kB / 0.7017 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.1493, allocations: 125.7 kB / 0.7018 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1495, allocations: 40.3 kB / 0.7019 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/0.15, allocations: 158.3 kB / 0.702 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.15, allocations: 39.92 kB / 0.7021 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.15, allocations: 0 / 0.7021 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.001277/0.1513, allocations: 406.5 kB / 0.7024 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.1513, allocations: 55.34 kB / 0.7025 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.1514, allocations: 92.64 kB / 0.7026 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1514, allocations: 31.17 kB / 0.7026 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.1514, allocations: 80.14 kB / 0.7027 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.1515, allocations: 18.45 kB / 0.7027 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.1515, allocations: 18.59 kB / 0.7027 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1517, allocations: 311.9 kB / 0.703 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1518, allocations: 42.05 kB / 0.7031 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.152, allocations: 37.69 kB / 0.7031 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.1523, allocations: 84.08 kB / 0.7032 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1523, allocations: 0 / 0.7032 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003953/0.1527, allocations: 112.2 kB / 0.7033 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1527, allocations: 13.23 kB / 0.7033 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1527, allocations: 0 / 0.7033 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1527, allocations: 0 / 0.7033 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1529, allocations: 19.98 kB / 0.7033 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1529, allocations: 0 / 0.7033 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.153, allocations: 19.98 kB / 0.7033 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.153, allocations: 4 kB / 0.7033 GB, free: 9.078 MB / 0.5137 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 8.297e-05/0.1531, allocations: 110.5 kB / 0.7034 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.1531, allocations: 11.88 kB / 0.7035 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.1536, allocations: 137.2 kB / 0.7036 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1536, allocations: 0 / 0.7036 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1536, allocations: 0 / 0.7036 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1536, allocations: 336 / 0.7036 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.1538, allocations: 169.6 kB / 0.7037 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1538, allocations: 3.938 kB / 0.7038 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.154, allocations: 19.98 kB / 0.7038 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.154, allocations: 4 kB / 0.7038 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.154, allocations: 4.234 kB / 0.7038 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.154, allocations: 4 kB / 0.7038 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.154, allocations: 0 / 0.7038 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.1546, allocations: 192.9 kB / 0.704 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.1547, allocations: 89.08 kB / 0.7041 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1547, allocations: 8 kB / 0.7041 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1548, allocations: 15.98 kB / 0.7041 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1548, allocations: 7.984 kB / 0.7041 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1549, allocations: 0 / 0.7041 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.1549, allocations: 79.28 kB / 0.7042 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1549, allocations: 0 / 0.7042 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002639/0.1552, allocations: 31.88 kB / 0.7042 GB, free: 8.102 MB / 0.5137 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.00107/0.1562, allocations: 0.7529 MB / 0.7049 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.1567, allocations: 79.98 kB / 0.705 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1567, allocations: 0 / 0.705 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.1568, allocations: 47.91 kB / 0.705 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.157, allocations: 0 / 0.705 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.1592, allocations: 1.363 MB / 0.7064 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1595, allocations: 0.6883 MB / 0.7071 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.328e-05/0.1596, allocations: 16.06 kB / 0.7071 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.1596, allocations: 19.42 kB / 0.7071 GB, free: 5 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1596, allocations: 0 / 0.7071 GB, free: 5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.1788, allocations: 2.103 MB / 0.7091 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.487, allocations: 16.72 kB / 0.7092 GB, free: 3.047 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.250017579994164] Failed to read output from testmodel.py, exit status != 0: 8.850301245984156 8.623186516 8.473743184 Calling exit ...