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.00193/0.00193, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002768/0.002768, allocations: 215.6 kB / 22.25 MB, free: 5.121 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8 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.8348/0.8348, allocations: 134 MB / 446.4 MB, free: 10.21 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="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"}) [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.001962/0.001962, allocations: 66.3 kB / 0.6186 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2386, allocations: 85.9 MB / 0.7025 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002926/0.2416, allocations: 0.6055 MB / 0.7031 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003719/0.2453, allocations: 1.513 MB / 0.7045 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.2453, allocations: 7.938 kB / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.2454, allocations: 0 / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.2454, allocations: 3.938 kB / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008356/0.2462, allocations: 143.4 kB / 0.7047 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2463, allocations: 27.97 kB / 0.7047 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.99e-05/0.2464, allocations: 7.984 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.2465, allocations: 15.98 kB / 0.7047 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.2466, allocations: 23.91 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.2466, allocations: 4 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008676/0.2475, allocations: 319.3 kB / 0.7051 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.2475, allocations: 8 kB / 0.7051 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.2475, allocations: 15.92 kB / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.248, allocations: 191.7 kB / 0.7053 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.2481, allocations: 0 / 0.7053 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2481, allocations: 4 kB / 0.7053 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.2481, allocations: 0 / 0.7053 GB, free: 14.45 MB / 0.5294 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.0008335/0.2489, allocations: 290 kB / 0.7056 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.249, allocations: 8.031 kB / 0.7056 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.166e-05/0.249, allocations: 34.75 kB / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007556/0.2498, allocations: 68.84 kB / 0.7057 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.2499, allocations: 118.5 kB / 0.7058 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2499, allocations: 384 / 0.7058 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.25, allocations: 4.375 kB / 0.7058 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.2504, allocations: 73.75 kB / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2504, allocations: 4 kB / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2504, allocations: 0 / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2504, allocations: 4 kB / 0.7059 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.251, allocations: 55.94 kB / 0.7059 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.2512, allocations: 148.7 kB / 0.7061 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.2523, allocations: 122.5 kB / 0.7062 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.2526, allocations: 40.92 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/0.2533, allocations: 75.91 kB / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.2534, allocations: 42.48 kB / 0.7063 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.2534, allocations: 0 / 0.7063 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.00197/0.2554, allocations: 329 kB / 0.7066 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2554, allocations: 55.41 kB / 0.7067 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2556, allocations: 93.86 kB / 0.7068 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.2556, allocations: 25.7 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.2557, allocations: 84.14 kB / 0.7069 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.2557, allocations: 11.91 kB / 0.7069 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.2558, allocations: 21.7 kB / 0.7069 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.256, allocations: 318.8 kB / 0.7072 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.2563, allocations: 44.02 kB / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.2566, allocations: 39.91 kB / 0.7073 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.2571, allocations: 76.8 kB / 0.7074 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2571, allocations: 0 / 0.7074 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006745/0.2578, allocations: 109.9 kB / 0.7075 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2578, allocations: 7.984 kB / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2578, allocations: 4 kB / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2578, allocations: 0 / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2581, allocations: 23.98 kB / 0.7075 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2581, allocations: 0 / 0.7075 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2583, allocations: 16.23 kB / 0.7075 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.2583, allocations: 0 / 0.7075 GB, free: 11.93 MB / 0.5294 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 0.0001393/0.2584, allocations: 117.8 kB / 0.7076 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.2585, allocations: 15.88 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.2592, allocations: 133.4 kB / 0.7078 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.2593, allocations: 7.984 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2593, allocations: 0 / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2593, allocations: 0 / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.2595, allocations: 132.7 kB / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.2595, allocations: 7.922 kB / 0.7079 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.2598, allocations: 23.98 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2598, allocations: 7.938 kB / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2598, allocations: 4 kB / 0.708 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2598, allocations: 0 / 0.708 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2598, allocations: 0 / 0.708 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.2609, allocations: 185 kB / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.2609, allocations: 15.91 kB / 0.7082 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.261, allocations: 4 kB / 0.7082 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.2612, allocations: 11.98 kB / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2612, allocations: 7.984 kB / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2612, allocations: 0 / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.636e-05/0.2613, allocations: 79.28 kB / 0.7083 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2613, allocations: 160 / 0.7083 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000446/0.2617, allocations: 35.88 kB / 0.7083 GB, free: 11.08 MB / 0.5294 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.001692/0.2634, allocations: 0.7488 MB / 0.709 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006922/0.2641, allocations: 80.17 kB / 0.7091 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2641, allocations: 3.938 kB / 0.7091 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.2644, allocations: 48.03 kB / 0.7091 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2647, allocations: 0 / 0.7091 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.2684, allocations: 1.37 MB / 0.7105 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.2689, allocations: 0.6883 MB / 0.7112 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.269, allocations: 12 kB / 0.7112 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/0.2691, allocations: 15.42 kB / 0.7112 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.2691, allocations: 0 / 0.7112 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.3089, allocations: 2.181 MB / 0.7133 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.92, allocations: 4 kB / 0.7133 GB, free: 5.93 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 14.634311916001025] Failed to read output from testmodel.py, exit status != 0: 11.029362215005676 11.055307395 10.802778834 Calling exit ...