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.001097/0.001097, 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.001486/0.001486, allocations: 217.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.027/1.027, 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.8037/0.8037, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.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: 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.001029/0.001029, allocations: 77.27 kB / 0.7183 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.5233, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001376/0.5247, allocations: 0.605 MB / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.5261, allocations: 1.525 MB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.5262, allocations: 0 / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.5262, allocations: 5.375 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.051e-05/0.5262, allocations: 3.938 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.5267, allocations: 134 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.758e-05/0.5268, allocations: 31.88 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.5269, allocations: 4.562 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.5269, allocations: 21.92 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.527, allocations: 27.69 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.527, allocations: 0 / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.5274, allocations: 314.6 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.5274, allocations: 11.59 kB / 0.8205 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.5274, allocations: 14.55 kB / 0.8205 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.5277, allocations: 188.3 kB / 0.8207 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5277, allocations: 3.938 kB / 0.8207 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5277, allocations: 0 / 0.8207 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.5277, allocations: 0 / 0.8207 GB, free: 15.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004609/0.5282, allocations: 295.8 kB / 0.821 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5282, allocations: 10.59 kB / 0.821 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.5283, allocations: 30.75 kB / 0.821 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.5286, allocations: 68 kB / 0.8211 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.5287, allocations: 104.8 kB / 0.8212 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.5287, allocations: 5.172 kB / 0.8212 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.5287, allocations: 6.25 kB / 0.8212 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.5289, allocations: 80.09 kB / 0.8213 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5289, allocations: 0.6562 kB / 0.8213 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5289, allocations: 0 / 0.8213 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5289, allocations: 3.438 kB / 0.8213 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.5291, allocations: 63.61 kB / 0.8214 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.5293, allocations: 138.5 kB / 0.8215 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.5297, allocations: 127.3 kB / 0.8216 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.5298, allocations: 44.67 kB / 0.8217 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.53, allocations: 77.64 kB / 0.8217 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.53, allocations: 47.75 kB / 0.8218 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.53, allocations: 3.938 kB / 0.8218 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0007938/0.5308, allocations: 334.9 kB / 0.8221 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.5309, allocations: 54.69 kB / 0.8221 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.714e-05/0.5309, allocations: 90.89 kB / 0.8222 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.5309, allocations: 28.11 kB / 0.8223 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.531, allocations: 80.14 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.531, allocations: 20.02 kB / 0.8224 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.531, allocations: 25.59 kB / 0.8224 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.5311, allocations: 314.6 kB / 0.8227 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.5312, allocations: 32.44 kB / 0.8227 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.5313, allocations: 40.38 kB / 0.8227 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.5314, allocations: 83.92 kB / 0.8228 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5314, allocations: 0 / 0.8228 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002129/0.5317, allocations: 111.1 kB / 0.8229 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5317, allocations: 5.25 kB / 0.8229 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5317, allocations: 1.125 kB / 0.8229 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5317, allocations: 0 / 0.8229 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.5318, allocations: 26.28 kB / 0.823 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5318, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.5318, allocations: 15.95 kB / 0.823 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.5318, allocations: 6.359 kB / 0.823 GB, free: 13.83 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 (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 6.268e-05/0.5319, allocations: 109.8 kB / 0.8231 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.5319, allocations: 10.17 kB / 0.8231 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.5322, allocations: 135.5 kB / 0.8232 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5322, allocations: 1.406 kB / 0.8232 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5322, allocations: 320 / 0.8232 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5322, allocations: 1.875 kB / 0.8232 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.5323, allocations: 141.9 kB / 0.8234 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5323, allocations: 3.938 kB / 0.8234 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/0.5324, allocations: 23.41 kB / 0.8234 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5324, allocations: 0 / 0.8234 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5324, allocations: 6.172 kB / 0.8234 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5324, allocations: 9.391 kB / 0.8234 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5324, allocations: 0 / 0.8234 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.5328, allocations: 185.2 kB / 0.8236 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.5328, allocations: 16.11 kB / 0.8236 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.5328, allocations: 3.938 kB / 0.8236 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.546e-05/0.5329, allocations: 21.91 kB / 0.8236 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.5329, allocations: 4.25 kB / 0.8236 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.5329, allocations: 3.828 kB / 0.8236 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.5329, allocations: 76.84 kB / 0.8237 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5329, allocations: 0 / 0.8237 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001855/0.5331, allocations: 34.75 kB / 0.8237 GB, free: 13.27 MB / 0.6198 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.0006859/0.5338, allocations: 0.7428 MB / 0.8245 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.5341, allocations: 80.94 kB / 0.8245 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5341, allocations: 1.281 kB / 0.8245 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.5342, allocations: 44.27 kB / 0.8246 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.5343, allocations: 3.422 kB / 0.8246 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.5358, allocations: 1.36 MB / 0.8259 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.536, allocations: 0.6832 MB / 0.8266 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.659e-05/0.5361, allocations: 19.95 kB / 0.8266 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.5361, allocations: 13.55 kB / 0.8266 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.5361, allocations: 0 / 0.8266 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.5537, allocations: 2.188 MB / 0.8288 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.148, allocations: 4 kB / 0.8288 GB, free: 10.26 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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.245167991146445] Failed to read output from testmodel.py, exit status != 0: 7.23261534399353 7.241805369 6.71185104 Calling exit ...