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.001338/0.001338, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00134/0.00134, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.8957/0.8957, allocations: 133.9 MB / 443.5 MB, free: 13.95 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.001962/0.001962, allocations: 66.16 kB / 0.6141 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1855, allocations: 85.85 MB / 0.698 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002324/0.1879, allocations: 0.6018 MB / 0.6986 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005799/0.1884, allocations: 155.6 kB / 0.6987 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.1885, allocations: 0 / 0.6987 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.1885, allocations: 3.938 kB / 0.6987 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.433e-05/0.1885, allocations: 0 / 0.6987 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.1889, allocations: 43.02 kB / 0.6988 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.472e-05/0.189, allocations: 18.8 kB / 0.6988 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.189, allocations: 5.375 kB / 0.6988 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.189, allocations: 8.109 kB / 0.6988 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.1891, allocations: 6.75 kB / 0.6988 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1891, allocations: 1.375 kB / 0.6988 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1892, allocations: 31.09 kB / 0.6988 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.1893, allocations: 17.22 kB / 0.6989 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.1893, allocations: 2.75 kB / 0.6989 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1894, allocations: 35.66 kB / 0.6989 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1894, allocations: 1.375 kB / 0.6989 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1894, allocations: 0 / 0.6989 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1894, allocations: 4 kB / 0.6989 GB, free: 13.04 MB / 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.0005599/0.19, allocations: 342.3 kB / 0.6992 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.19, allocations: 11.11 kB / 0.6992 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.281e-05/0.19, allocations: 288 / 0.6992 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1901, allocations: 32.06 kB / 0.6993 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1901, allocations: 2.281 kB / 0.6993 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1903, allocations: 161.7 kB / 0.6994 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1903, allocations: 5.656 kB / 0.6994 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1903, allocations: 6 kB / 0.6994 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1905, allocations: 50.94 kB / 0.6995 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1905, allocations: 0 / 0.6995 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1905, allocations: 0 / 0.6995 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1905, allocations: 1.469 kB / 0.6995 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/0.1906, allocations: 19.33 kB / 0.6995 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.1908, allocations: 155.3 kB / 0.6996 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.191, allocations: 46.5 kB / 0.6997 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.191, allocations: 25.25 kB / 0.6997 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.1912, allocations: 82.92 kB / 0.6998 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.1912, allocations: 35.59 kB / 0.6998 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1912, allocations: 0.8438 kB / 0.6998 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.001792/0.193, allocations: 495.3 kB / 0.7003 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.193, allocations: 52.47 kB / 0.7004 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.1931, allocations: 95.08 kB / 0.7004 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1932, allocations: 30.73 kB / 0.7005 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.1932, allocations: 85.25 kB / 0.7006 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.1933, allocations: 21.98 kB / 0.7006 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.1934, allocations: 23.27 kB / 0.7006 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1935, allocations: 313.1 kB / 0.7009 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.1936, allocations: 18.73 kB / 0.7009 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.1936, allocations: 11.03 kB / 0.7009 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1937, allocations: 46.53 kB / 0.701 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1937, allocations: 0 / 0.701 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001794/0.1939, allocations: 75.52 kB / 0.701 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1939, allocations: 4.688 kB / 0.701 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1939, allocations: 1.281 kB / 0.701 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.194, allocations: 0 / 0.701 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1941, allocations: 12.06 kB / 0.7011 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1941, allocations: 0 / 0.7011 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.1941, allocations: 5 kB / 0.7011 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1941, allocations: 6.672 kB / 0.7011 GB, free: 10.77 MB / 0.5137 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 0.0001134/0.1942, allocations: 111.7 kB / 0.7012 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1943, allocations: 6.562 kB / 0.7012 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1945, allocations: 87.69 kB / 0.7013 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1945, allocations: 0 / 0.7013 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1945, allocations: 1.156 kB / 0.7013 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1945, allocations: 0 / 0.7013 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.1947, allocations: 162.1 kB / 0.7014 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1947, allocations: 7.922 kB / 0.7014 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1948, allocations: 15.53 kB / 0.7014 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1948, allocations: 1.281 kB / 0.7014 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1949, allocations: 0 / 0.7014 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1949, allocations: 5.062 kB / 0.7014 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1949, allocations: 0 / 0.7014 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1951, allocations: 122.3 kB / 0.7016 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.1952, allocations: 82.45 kB / 0.7016 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1952, allocations: 5.266 kB / 0.7016 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.1953, allocations: 5.25 kB / 0.7017 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.1953, allocations: 3.844 kB / 0.7017 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1953, allocations: 5.219 kB / 0.7017 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.1954, allocations: 76.88 kB / 0.7017 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1954, allocations: 0 / 0.7017 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004015/0.1958, allocations: 31.42 kB / 0.7018 GB, free: 10.06 MB / 0.5137 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.0007787/0.1966, allocations: 0.6864 MB / 0.7024 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.1967, allocations: 35.02 kB / 0.7025 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1967, allocations: 3.938 kB / 0.7025 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.1968, allocations: 21.69 kB / 0.7025 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.197, allocations: 11.67 kB / 0.7025 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.1986, allocations: 1.194 MB / 0.7037 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1989, allocations: 0.6847 MB / 0.7043 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.199, allocations: 11.94 kB / 0.7043 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.199, allocations: 15.56 kB / 0.7044 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.199, allocations: 0 / 0.7044 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.2183, allocations: 1.856 MB / 0.7062 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.319, allocations: 16.03 kB / 0.7062 GB, free: 6.121 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.279474685958121] Failed to read output from testmodel.py, exit status != 0: 8.787942228023894 8.46604542 8.272178332 Calling exit ...