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.001194/0.001194, 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.001393/0.001393, 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.9428/0.9428, 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.764/0.764, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.129e-05, allocations: 6.031 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001348/0.001369, allocations: 0.6147 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003366/0.001706, allocations: 151.5 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.001729, allocations: 0 / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.001743, allocations: 0 / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.961e-05/0.001762, allocations: 0 / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.002062, allocations: 47.7 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.002113, allocations: 8 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.002154, allocations: 8 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.002183, allocations: 7.984 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.002245, allocations: 11.97 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.002261, allocations: 4 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.002329, allocations: 27.97 kB / 0.619 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.002343, allocations: 3.938 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.00236, allocations: 11.98 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.73e-05/0.002457, allocations: 27.94 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.00246, allocations: 4 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002461, allocations: 0 / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.002465, allocations: 0 / 0.619 GB, free: 12.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003005/0.002765, allocations: 262.3 kB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.00281, allocations: 13.47 kB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.744e-05/0.002838, allocations: 30.75 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.002862, allocations: 0.9375 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.827e-05/0.00293, allocations: 105.8 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.00294, allocations: 384 / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.002959, allocations: 4.375 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.003062, allocations: 71.89 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.003069, allocations: 192 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.003077, allocations: 4.375 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.003084, allocations: 8.125 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.81e-05/0.003122, allocations: 15.98 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.003243, allocations: 132.6 kB / 0.6196 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.487e-05/0.003318, allocations: 42.62 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.003343, allocations: 20.92 kB / 0.6197 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/0.003411, allocations: 11.98 kB / 0.6197 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.003433, allocations: 38.5 kB / 0.6197 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.003433, allocations: 3.938 kB / 0.6197 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0008288/0.004262, allocations: 407.3 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.004287, allocations: 55.41 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.004328, allocations: 89.86 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.004339, allocations: 33.7 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.83e-05/0.004357, allocations: 80.14 kB / 0.6204 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.004384, allocations: 31.77 kB / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.004411, allocations: 17.72 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.004478, allocations: 314.8 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.004499, allocations: 12 kB / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.004517, allocations: 15.98 kB / 0.6207 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.004571, allocations: 32.8 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.004571, allocations: 4.125 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.304e-05/0.004644, allocations: 73.64 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.004655, allocations: 4 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.004659, allocations: 0 / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.004671, allocations: 7.938 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.004736, allocations: 15.97 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.004741, allocations: 0 / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.004754, allocations: 8 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.00476, allocations: 0 / 0.6209 GB, free: 10.55 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 (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 5.393e-05/0.004814, allocations: 114.8 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.00482, allocations: 4 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.004943, allocations: 85.62 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.004945, allocations: 3.938 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.004948, allocations: 0 / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.004952, allocations: 3.984 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.148e-05/0.005024, allocations: 128.8 kB / 0.6212 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005025, allocations: 4 kB / 0.6212 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.005071, allocations: 11.98 kB / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.005073, allocations: 4 kB / 0.6212 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.00508, allocations: 3.938 kB / 0.6212 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005081, allocations: 11.88 kB / 0.6212 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005082, allocations: 192 / 0.6212 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.005203, allocations: 117.4 kB / 0.6214 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.005208, allocations: 4 kB / 0.6214 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.005219, allocations: 4 kB / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.005244, allocations: 7.969 kB / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.00526, allocations: 7.969 kB / 0.6214 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.005264, allocations: 4 kB / 0.6214 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.892e-05/0.005283, allocations: 75.28 kB / 0.6215 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005283, allocations: 0 / 0.6215 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001534/0.005437, allocations: 40.08 kB / 0.6215 GB, free: 9.844 MB / 0.5886 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.0003501/0.005787, allocations: 0.6866 MB / 0.6222 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.427e-05/0.005871, allocations: 39.92 kB / 0.6222 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005872, allocations: 0 / 0.6222 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.005893, allocations: 16 kB / 0.6222 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.006, allocations: 7.938 kB / 0.6222 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.006713, allocations: 1.188 MB / 0.6234 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.006748, allocations: 67.28 kB / 0.6235 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.006775, allocations: 8.125 kB / 0.6235 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.006807, allocations: 20.48 kB / 0.6235 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.006807, allocations: 0 / 0.6235 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.02259, allocations: 2.448 MB / 0.6259 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/6.956, allocations: 7.625 kB / 0.6259 GB, free: 5.418 MB / 0.5886 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: 9.85833287704736] Failed to read output from testmodel.py, exit status != 0: 7.036958882585168 7.044911064 7.04081277 Calling exit ...