Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.0008822/0.0008822, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001004/0.001004, allocations: 223.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.013/1.013, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.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.7892/0.7892, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.0009692/0.0009692, allocations: 62.88 kB / 0.7183 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5701, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001923/0.572, allocations: 0.7951 MB / 0.8187 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.574, allocations: 1.559 MB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.574, allocations: 0 / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.134e-05/0.5741, allocations: 5.031 kB / 0.8202 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.5741, allocations: 4.734 kB / 0.8202 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.5747, allocations: 150.9 kB / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.5748, allocations: 42.7 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.5748, allocations: 4.438 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.5749, allocations: 30.56 kB / 0.8204 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.575, allocations: 35.02 kB / 0.8205 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.575, allocations: 4.125 kB / 0.8205 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.5754, allocations: 316 kB / 0.8208 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.5754, allocations: 13.62 kB / 0.8208 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.5755, allocations: 30.31 kB / 0.8208 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.5758, allocations: 218.5 kB / 0.821 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5758, allocations: 0.5625 kB / 0.821 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5758, allocations: 0 / 0.821 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.5758, allocations: 0 / 0.821 GB, free: 15.32 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005611/0.5764, allocations: 330.5 kB / 0.8213 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5764, allocations: 8.656 kB / 0.8214 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.5765, allocations: 39.38 kB / 0.8214 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.5767, allocations: 68.09 kB / 0.8215 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/0.5768, allocations: 120.1 kB / 0.8216 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.5768, allocations: 2.812 kB / 0.8216 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.5769, allocations: 8.844 kB / 0.8216 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.5771, allocations: 110.2 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5771, allocations: 0 / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5772, allocations: 5.594 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5772, allocations: 5.719 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.5774, allocations: 104.5 kB / 0.8218 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.578, allocations: 298.8 kB / 0.8221 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.5783, allocations: 153 kB / 0.8222 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.5785, allocations: 60.39 kB / 0.8223 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.5785, allocations: 5.109 kB / 0.8223 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.5785, allocations: 31.56 kB / 0.8223 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.5785, allocations: 3.938 kB / 0.8223 GB, free: 14.38 MB / 0.6198 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.009138/0.5877, allocations: 2.682 MB / 0.8249 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.5877, allocations: 57.08 kB / 0.825 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.5878, allocations: 105.6 kB / 0.8251 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.5878, allocations: 25.7 kB / 0.8251 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.5878, allocations: 95.86 kB / 0.8252 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.5879, allocations: 35.25 kB / 0.8252 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.588, allocations: 78.5 kB / 0.8253 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.5881, allocations: 314.5 kB / 0.8256 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.5885, allocations: 191.2 kB / 0.8258 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.5889, allocations: 194 kB / 0.826 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.5897, allocations: 398.1 kB / 0.8264 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5897, allocations: 0 / 0.8264 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009545/0.5906, allocations: 473.6 kB / 0.8268 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5906, allocations: 7.562 kB / 0.8268 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5907, allocations: 7.938 kB / 0.8268 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5907, allocations: 2.391 kB / 0.8268 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.5911, allocations: 106 kB / 0.8269 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5911, allocations: 1.375 kB / 0.8269 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.5914, allocations: 45.09 kB / 0.827 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.5914, allocations: 24.3 kB / 0.827 GB, free: 12.71 MB / 0.6198 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 (13): * Single equations (assignments): 13 * 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.0001276/0.5916, allocations: 120.8 kB / 0.8271 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.5916, allocations: 8.344 kB / 0.8271 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.5917, allocations: 10.36 kB / 0.8271 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5917, allocations: 5.125 kB / 0.8271 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5917, allocations: 4 kB / 0.8271 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5917, allocations: 2.516 kB / 0.8271 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.5933, allocations: 1.031 MB / 0.8282 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5933, allocations: 1.219 kB / 0.8282 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.5937, allocations: 110.5 kB / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5937, allocations: 0 / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.5937, allocations: 26.86 kB / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5937, allocations: 320 / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5938, allocations: 6.25 kB / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.5953, allocations: 0.7903 MB / 0.8291 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.5954, allocations: 44.42 kB / 0.8291 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.5955, allocations: 1.75 kB / 0.8291 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.5958, allocations: 47.55 kB / 0.8292 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.5959, allocations: 34.69 kB / 0.8292 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.5959, allocations: 23.27 kB / 0.8292 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.596, allocations: 79.8 kB / 0.8293 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.596, allocations: 0.5938 kB / 0.8293 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003749/0.5963, allocations: 55.31 kB / 0.8293 GB, free: 11.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.001826/0.5982, allocations: 1.34 MB / 0.8306 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009184/0.5991, allocations: 420.8 kB / 0.831 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5991, allocations: 0 / 0.831 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.5995, allocations: 222.6 kB / 0.8313 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.5999, allocations: 9.078 kB / 0.8313 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004997/0.6049, allocations: 2.939 MB / 0.8341 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.6051, allocations: 0.6964 MB / 0.8348 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.6054, allocations: 99.25 kB / 0.8349 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.6056, allocations: 63.73 kB / 0.835 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of SimCode: time 1.243e-06/0.6056, allocations: 3.938 kB / 0.835 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.6289, allocations: 4.775 MB / 0.8396 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/7.192, allocations: 10.86 kB / 0.8397 GB, free: 5.16 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.348794373916462] Failed to read output from testmodel.py, exit status != 0: 7.271997160976753 7.282275382 6.704573459 Calling exit ...