Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001369/0.001369, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002303/0.002303, allocations: 221.2 kB / 23.03 MB, free: 4.941 MB / 14.72 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.856/0.856, allocations: 134 MB / 447.2 MB, free: 9.918 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",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.002826/0.002826, allocations: 62.86 kB / 0.6193 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1925, allocations: 85.9 MB / 0.7032 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002414/0.1949, allocations: 0.5992 MB / 0.7038 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004534/0.1954, allocations: 159.9 kB / 0.7039 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.1954, allocations: 0 / 0.7039 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.1954, allocations: 0 / 0.7039 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.604e-05/0.1954, allocations: 0 / 0.7039 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1958, allocations: 43.83 kB / 0.704 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.401e-05/0.1958, allocations: 12 kB / 0.704 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.1959, allocations: 4 kB / 0.704 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.1959, allocations: 3.984 kB / 0.704 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.196, allocations: 15.92 kB / 0.704 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.196, allocations: 0 / 0.704 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.1961, allocations: 35.97 kB / 0.704 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.1961, allocations: 7.984 kB / 0.704 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.1961, allocations: 3.938 kB / 0.704 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1963, allocations: 40.11 kB / 0.7041 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1963, allocations: 0 / 0.7041 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1963, allocations: 0 / 0.7041 GB, free: 124 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1963, allocations: 0 / 0.7041 GB, free: 124 kB / 0.5137 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.0004166/0.1967, allocations: 258.3 kB / 0.7043 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.1967, allocations: 12.02 kB / 0.7043 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.515e-05/0.1967, allocations: 192 / 0.7043 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.1968, allocations: 34.75 kB / 0.7044 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1968, allocations: 4.938 kB / 0.7044 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1969, allocations: 102.5 kB / 0.7045 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1969, allocations: 12.31 kB / 0.7045 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.197, allocations: 4.312 kB / 0.7045 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1971, allocations: 71.7 kB / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1971, allocations: 0 / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1971, allocations: 4 kB / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1971, allocations: 0 / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.1972, allocations: 15.98 kB / 0.7046 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1974, allocations: 124.8 kB / 0.7047 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1975, allocations: 50.56 kB / 0.7047 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.1975, allocations: 16.98 kB / 0.7048 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.097e-05/0.1976, allocations: 7.984 kB / 0.7048 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.1976, allocations: 42.5 kB / 0.7048 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1976, allocations: 0 / 0.7048 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001322/0.199, allocations: 407.2 kB / 0.7052 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.199, allocations: 51.41 kB / 0.7052 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.1991, allocations: 93.86 kB / 0.7053 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1991, allocations: 29.7 kB / 0.7054 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.1991, allocations: 84.27 kB / 0.7054 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1992, allocations: 27.78 kB / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.1992, allocations: 17.72 kB / 0.7055 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1993, allocations: 322.8 kB / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.1994, allocations: 8 kB / 0.7058 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.1994, allocations: 15.98 kB / 0.7058 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.1995, allocations: 41.02 kB / 0.7059 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1995, allocations: 4 kB / 0.7059 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001201/0.1996, allocations: 73.56 kB / 0.7059 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1996, allocations: 4 kB / 0.7059 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1996, allocations: 0 / 0.7059 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1996, allocations: 4 kB / 0.7059 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.1997, allocations: 23.92 kB / 0.706 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1997, allocations: 0 / 0.706 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.1997, allocations: 4 kB / 0.706 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1998, allocations: 0 / 0.706 GB, free: 13.94 MB / 0.5294 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 9.057e-05/0.1998, allocations: 113.8 kB / 0.7061 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.1999, allocations: 11.86 kB / 0.7061 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.2, allocations: 77.58 kB / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2, allocations: 0 / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2, allocations: 7.938 kB / 0.7062 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2, allocations: 3.984 kB / 0.7062 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.2002, allocations: 132.8 kB / 0.7063 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2002, allocations: 7.938 kB / 0.7063 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.2003, allocations: 11.98 kB / 0.7063 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2003, allocations: 0 / 0.7063 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2003, allocations: 4 kB / 0.7063 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2003, allocations: 0 / 0.7063 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2003, allocations: 0 / 0.7063 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.2005, allocations: 121.2 kB / 0.7064 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.2005, allocations: 4 kB / 0.7064 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2005, allocations: 8 kB / 0.7064 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.2005, allocations: 8.031 kB / 0.7064 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.2006, allocations: 3.984 kB / 0.7065 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2006, allocations: 4 kB / 0.7065 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.2007, allocations: 75.28 kB / 0.7065 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2007, allocations: 0 / 0.7065 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002285/0.2009, allocations: 35.92 kB / 0.7066 GB, free: 13.24 MB / 0.5294 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.0005812/0.2015, allocations: 0.6748 MB / 0.7072 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.2016, allocations: 40.14 kB / 0.7073 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2016, allocations: 0 / 0.7073 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.2016, allocations: 19.94 kB / 0.7073 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.2018, allocations: 9.031 kB / 0.7073 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2029, allocations: 1.196 MB / 0.7085 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.203, allocations: 67.2 kB / 0.7085 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.203, allocations: 15.75 kB / 0.7085 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.2031, allocations: 15.44 kB / 0.7085 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.2031, allocations: 0 / 0.7085 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.2276, allocations: 1.979 MB / 0.7105 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.2, allocations: 8.016 kB / 0.7105 GB, free: 9.254 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.86829105799552] Failed to read output from testmodel.py, exit status != 0: 11.364704416017048 11.391363381 11.190189682 Calling exit ...