Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0007607/0.0007607, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.00102/0.00102, allocations: 209.7 kB / 22.24 MB, free: 3.59 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 0.9967/0.9967, allocations: 230.6 MB / 256 MB, free: 9.609 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.7897/0.7897, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.0007918/0.0007918, allocations: 62.44 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5904/0.5912, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001582/0.5928, allocations: 0.6138 MB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000413/0.5932, allocations: 134.7 kB / 0.8186 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.5932, allocations: 1.781 kB / 0.8186 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.5933, allocations: 11.88 kB / 0.8186 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.5933, allocations: 0 / 0.8186 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.5937, allocations: 38.34 kB / 0.8186 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.5938, allocations: 14.64 kB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.5938, allocations: 4.703 kB / 0.8186 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.5939, allocations: 8.578 kB / 0.8186 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.594, allocations: 9.734 kB / 0.8187 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.594, allocations: 0 / 0.8187 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.5941, allocations: 33.34 kB / 0.8187 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.5941, allocations: 6.188 kB / 0.8187 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.5942, allocations: 7.125 kB / 0.8187 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.5944, allocations: 34.11 kB / 0.8187 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5944, allocations: 4.688 kB / 0.8187 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5944, allocations: 0 / 0.8187 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.5944, allocations: 1.594 kB / 0.8187 GB, free: 0.5039 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004451/0.5948, allocations: 260.3 kB / 0.819 GB, free: 240 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.5949, allocations: 9.156 kB / 0.819 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.5949, allocations: 32.48 kB / 0.819 GB, free: 200 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.595, allocations: 9.094 kB / 0.819 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.595, allocations: 103.6 kB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5951, allocations: 6.438 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.5951, allocations: 5.562 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.5953, allocations: 67.52 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.5953, allocations: 3.938 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5953, allocations: 1.906 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.5953, allocations: 5.625 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.547e-05/0.5953, allocations: 17.06 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.5955, allocations: 131.5 kB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.5956, allocations: 45.73 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.5957, allocations: 18.7 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/0.5958, allocations: 8.672 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.5958, allocations: 31.95 kB / 0.8195 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.5958, allocations: 0 / 0.8195 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001098/0.5969, allocations: 417.2 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.5969, allocations: 54.53 kB / 0.8199 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.768e-05/0.597, allocations: 97.64 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.597, allocations: 25.7 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.597, allocations: 80.84 kB / 0.8201 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.5971, allocations: 24.02 kB / 0.8201 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.5971, allocations: 21.75 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.5972, allocations: 316.7 kB / 0.8204 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.5972, allocations: 13.33 kB / 0.8205 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.5972, allocations: 13.09 kB / 0.8205 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.825e-05/0.5973, allocations: 36.66 kB / 0.8205 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5973, allocations: 0 / 0.8205 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.477e-05/0.5974, allocations: 79.23 kB / 0.8206 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5974, allocations: 6.766 kB / 0.8206 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5974, allocations: 0 / 0.8206 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5974, allocations: 0 / 0.8206 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.5975, allocations: 14.33 kB / 0.8206 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5975, allocations: 4 kB / 0.8206 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.5975, allocations: 11.81 kB / 0.8206 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.5975, allocations: 0 / 0.8206 GB, free: 14.68 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 (8): * Single equations (assignments): 8 * 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.057e-05/0.5976, allocations: 110.1 kB / 0.8207 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.5976, allocations: 4.641 kB / 0.8207 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.5977, allocations: 88.22 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.5977, allocations: 2.125 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5977, allocations: 0 / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5977, allocations: 2.375 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.052e-05/0.5978, allocations: 136.1 kB / 0.8209 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5978, allocations: 4 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.5979, allocations: 18.58 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.5979, allocations: 3.938 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.5979, allocations: 0.8438 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5979, allocations: 0 / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5979, allocations: 0 / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.5981, allocations: 124.2 kB / 0.8211 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.5981, allocations: 10.14 kB / 0.8211 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.5981, allocations: 1.344 kB / 0.8211 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/0.5981, allocations: 2.031 kB / 0.8211 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.5981, allocations: 14.27 kB / 0.8211 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.5981, allocations: 1.828 kB / 0.8211 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.5981, allocations: 76.73 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5981, allocations: 0 / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000145/0.5983, allocations: 25.94 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0007242/0.599, allocations: 0.6801 MB / 0.8219 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.5991, allocations: 34.36 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5991, allocations: 0 / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.5991, allocations: 20.17 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.5993, allocations: 15.17 kB / 0.8219 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.6001, allocations: 1.203 MB / 0.8231 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.6001, allocations: 67.86 kB / 0.8232 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.6001, allocations: 5.047 kB / 0.8232 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.6002, allocations: 17.48 kB / 0.8232 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.6002, allocations: 4 kB / 0.8232 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.6172, allocations: 2.307 MB / 0.8255 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.489/7.106, allocations: 11.44 kB / 0.8255 GB, free: 11.41 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_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_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.237243670970201] Failed to read output from testmodel.py, exit status != 0: 7.1857059290632606 7.199286035 6.602083651 Calling exit ...