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/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.001213/0.001213, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001548/0.001548, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8892/0.8892, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7054/0.7054, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.555e-05, allocations: 3.844 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001789/0.001815, allocations: 0.608 MB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.003877, allocations: 1.435 MB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.003926, allocations: 0 / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.003949, allocations: 0 / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/0.003986, allocations: 0 / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.004636, allocations: 147.3 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.004737, allocations: 27.97 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.004792, allocations: 3.984 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.181e-05/0.004864, allocations: 23.92 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.004951, allocations: 19.97 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.00497, allocations: 4 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.005354, allocations: 247.5 kB / 0.6206 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.005377, allocations: 11.97 kB / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.005404, allocations: 7.984 kB / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.005723, allocations: 199.5 kB / 0.6208 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.005728, allocations: 4 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.663e-06/0.00573, allocations: 4 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005735, allocations: 0 / 0.6208 GB, free: 10.95 MB / 0.5886 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.0005438/0.006278, allocations: 286 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.006345, allocations: 9.469 kB / 0.6211 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.00639, allocations: 42.67 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.00678, allocations: 60.86 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.006899, allocations: 117.7 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.00693, allocations: 384 / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.006961, allocations: 8.359 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.00724, allocations: 103.8 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.007251, allocations: 192 / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.007269, allocations: 4.125 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.007275, allocations: 0 / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.007506, allocations: 67.92 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.007712, allocations: 132.8 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.008199, allocations: 114.5 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.008325, allocations: 48.91 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/0.008667, allocations: 71.91 kB / 0.6218 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.008694, allocations: 42.5 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.008696, allocations: 0 / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.001001/0.009697, allocations: 329 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.009732, allocations: 51.41 kB / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.009794, allocations: 105.8 kB / 0.6223 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.009811, allocations: 25.7 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.009838, allocations: 80.14 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.009872, allocations: 19.84 kB / 0.6224 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.009925, allocations: 21.7 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.01002, allocations: 314.8 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.01015, allocations: 36.09 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01026, allocations: 31.97 kB / 0.6228 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.01048, allocations: 80.8 kB / 0.6229 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01048, allocations: 0 / 0.6229 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002924/0.01077, allocations: 121.8 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01079, allocations: 4 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.0108, allocations: 3.938 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01081, allocations: 4 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.01093, allocations: 23.97 kB / 0.623 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01093, allocations: 0 / 0.623 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.011, allocations: 23.92 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.01101, allocations: 0 / 0.6231 GB, free: 8.387 MB / 0.5886 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.481e-05/0.01108, allocations: 110.8 kB / 0.6232 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.0111, allocations: 0 / 0.6232 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.01148, allocations: 145.3 kB / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01149, allocations: 4 kB / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01149, allocations: 0 / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01149, allocations: 0 / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.01163, allocations: 136.7 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01163, allocations: 0 / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.01174, allocations: 23.97 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01174, allocations: 4 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.01176, allocations: 8.266 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01176, allocations: 0 / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01176, allocations: 0 / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.0122, allocations: 188.9 kB / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.01225, allocations: 12 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.01227, allocations: 3.938 kB / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.01235, allocations: 15.97 kB / 0.6237 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.01238, allocations: 12.06 kB / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.01239, allocations: 0 / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.01242, allocations: 83.27 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.01242, allocations: 3.938 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002645/0.01269, allocations: 27.88 kB / 0.6238 GB, free: 7.543 MB / 0.5886 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.0008327/0.01352, allocations: 0.7491 MB / 0.6245 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.01382, allocations: 87.92 kB / 0.6246 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01383, allocations: 0 / 0.6246 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01394, allocations: 39.97 kB / 0.6246 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.01412, allocations: 10.41 kB / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.01595, allocations: 1.356 MB / 0.626 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.01601, allocations: 71.28 kB / 0.6261 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.909e-05/0.01609, allocations: 16 kB / 0.6261 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.01616, allocations: 16.48 kB / 0.6261 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.01616, allocations: 0 / 0.6261 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.03859, allocations: 2.738 MB / 0.6288 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.368, allocations: 14.25 kB / 0.6288 GB, free: 2.48 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.160345480777323] Failed to read output from testmodel.py, exit status != 0: 7.449935121461749 7.463921261 7.455224572 Calling exit ...